Class PlayStreamingSourceEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.sound.SoundEvent
net.neoforged.neoforge.client.event.sound.SoundEvent.SoundSourceEvent
net.neoforged.neoforge.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.neoforged.neoforge.client.event.sound.SoundEvent
SoundEvent.SoundSourceEventNested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result - 
Constructor Summary
ConstructorsConstructorDescriptionPlayStreamingSourceEvent(SoundEngine engine, SoundInstance sound, Channel channel)  - 
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.sound.SoundEvent.SoundSourceEvent
getChannel, getName, getSoundMethods inherited from class net.neoforged.neoforge.client.event.sound.SoundEvent
getEngineMethods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult 
- 
Constructor Details
- 
PlayStreamingSourceEvent
 
 -