Class PlayStreamingSourceEvent

java.lang.Object
net.neoforged.bus.api.Event

public class PlayStreamingSourceEvent extends SoundEvent.SoundSourceEvent
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

invalid reference
cancellable
, and does not
invalid reference
have a result
.

This event is fired on the main Forge event bus, only on the logical client.

See Also: