Class SoundEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.sound.SoundEvent
- Direct Known Subclasses:
PlaySoundEvent
,SoundEngineLoadEvent
,SoundEvent.SoundSourceEvent
public abstract class SoundEvent
extends net.minecraftforge.eventbus.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.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
engine
-
-
Constructor Details
-
SoundEvent
-
-
Method Details
-
getEngine
Returns the sound engine.- Returns:
- the sound engine
-