Class PlaySoundEvent
-
- All Implemented Interfaces:
public final class PlaySoundEvent extends BaseEvent
-
-
Constructor Summary
Constructors Constructor Description PlaySoundEvent()
-
Method Summary
Modifier and Type Method Description final Set<SoundEvent>
getSounds()
final Unit
setSounds(Set<SoundEvent> sounds)
Unit
execute(ServerLevel level, ServerPlayer player, Vec3 pos)
Called when the event is executed. -
Methods inherited from class dev.wendigodrip.thebrokenscript.api.event.BaseEvent
afterTicks, getLevel, getPlayer, getQueue, getWeight, playGlobalSound, playGlobalSound, playSound, playSound, queue, run, setLevel, setPlayer, setQueue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-