diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-15 22:49:58 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-15 22:49:58 +0200 |
commit | 01d4aef89b7fdad58a320cf1eb4e478ac12aaba4 (patch) | |
tree | 3b933dd02f0f976760c0adba9342ea727bcda61a /src/main/java/at/hannibal2/skyhanni/events/PlaySoundEvent.kt | |
parent | f02297bfffcdaaef5da4e04725b0658c00889cb7 (diff) | |
download | skyhanni-01d4aef89b7fdad58a320cf1eb4e478ac12aaba4.tar.gz skyhanni-01d4aef89b7fdad58a320cf1eb4e478ac12aaba4.tar.bz2 skyhanni-01d4aef89b7fdad58a320cf1eb4e478ac12aaba4.zip |
added and used events for particle and sound
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/PlaySoundEvent.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/PlaySoundEvent.kt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/PlaySoundEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/PlaySoundEvent.kt new file mode 100644 index 000000000..cdf2f29a5 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/PlaySoundEvent.kt @@ -0,0 +1,8 @@ +package at.hannibal2.skyhanni.events + +import at.hannibal2.skyhanni.utils.LorenzVec +import net.minecraftforge.fml.common.eventhandler.Cancelable + +@Cancelable +class PlaySoundEvent(val soundName: String, val location: LorenzVec, val pitch: Float, val volume: Float) : + LorenzEvent()
\ No newline at end of file |