Class SoundEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.sound.SoundEvent
- Direct Known Subclasses:
PlaySoundEvent
,SoundEngineLoadEvent
,SoundEvent.SoundSourceEvent
public abstract class SoundEvent
extends net.neoforged.bus.api.Event
Superclass for sound related events.
These events are fired on the main Forge event bus, only on the logical client.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Superclass for when a sound has started to play on an audio channel. -
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
engine
-
-
Constructor Details
-
SoundEvent
-
-
Method Details
-
getEngine
Returns the sound engine.- Returns:
- the sound engine
-