aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/events')
-rw-r--r--src/main/kotlin/com/dulkirfabric/events/PlaySoundEvent.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/events/PlaySoundEvent.kt b/src/main/kotlin/com/dulkirfabric/events/PlaySoundEvent.kt
new file mode 100644
index 0000000..b8fd00d
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/events/PlaySoundEvent.kt
@@ -0,0 +1,8 @@
+package com.dulkirfabric.events
+
+import com.dulkirfabric.events.base.CancellableEvent
+import net.minecraft.client.sound.SoundInstance
+
+data class PlaySoundEvent(
+ val sound: SoundInstance
+): CancellableEvent()