aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/events/PlaySoundEvent.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-16 11:56:00 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-16 11:56:00 -0500
commitb56cf5d2a1aa1864b43acae69aedde676afafd57 (patch)
treebac77a8cc0bd639b0f4e798bab53e1ad6c79b49b /src/main/kotlin/com/dulkirfabric/events/PlaySoundEvent.kt
parent2b93c22070564ed3ad31cd1862c65185b79c1a78 (diff)
downloadDulkirMod-Fabric-b56cf5d2a1aa1864b43acae69aedde676afafd57.tar.gz
DulkirMod-Fabric-b56cf5d2a1aa1864b43acae69aedde676afafd57.tar.bz2
DulkirMod-Fabric-b56cf5d2a1aa1864b43acae69aedde676afafd57.zip
wip
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/events/PlaySoundEvent.kt')
-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()