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(Level level, Entity entity, Vec3 pos)
Called when the event is executed. -
Methods inherited from class dev.wendigodrip.thebrokenscript.api.event.BaseEvent
broadcast, condition, doWork, getEntity, getLevel, getQueue, getWeight, onServer, playGlobalSound, playGlobalSound, playSound, playSound, queue, run, setEntity, setLevel, setQueue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-