Class PlaySoundSourceEvent

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

public class PlaySoundSourceEvent extends SoundEvent.SoundSourceEvent
Fired when a non-streaming sound is being played. A non-streaming sound is loaded fully into memory in a buffer before being played, and used for most sounds of short length such as sound effects for clicking buttons.

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: