Class PlayStreamingSourceEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.sound.SoundEvent
net.minecraftforge.client.event.sound.SoundEvent.SoundSourceEvent
net.minecraftforge.client.event.sound.PlayStreamingSourceEvent
Fired when a streaming sound is being played. A streaming sound is streamed directly from its source
(such as a file), and used for sounds of long length which are unsuitable to keep fully loaded in-memory in a buffer
(as is done for regular non-streaming sounds), such as background music or music discs.
This event is not cancellable, and does not have a result.
This event is fired on the main Forge event bus, only on the logical client.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.sound.SoundEvent
SoundEvent.SoundSourceEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayStreamingSourceEvent
(SoundEngine engine, SoundInstance sound, Channel channel) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.sound.SoundEvent.SoundSourceEvent
getChannel, getName, getSound
Methods inherited from class net.minecraftforge.client.event.sound.SoundEvent
getEngine
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
PlayStreamingSourceEvent
-