Package | Description |
---|---|
net.minecraftforge.client.event.sound |
Modifier and Type | Class and Description |
---|---|
class |
PlayBackgroundMusicEvent
Raised when the SoundManager tries to play a Background Music file,
If you return null from this function it will prevent the sound from being played,
you can return a different entry if you want to change the sound being played.
|
class |
PlaySoundEffectEvent |
class |
PlaySoundEvent
Raised when the SoundManager tries to play a normal sound,
dogs barking, footsteps, etc.
|
class |
PlayStreamingEvent
Raised when the SoundManager tries to play a 'Streaming' file,
in vanilla it is only the Jukebox that uses this function.
|
Modifier and Type | Method and Description |
---|---|
static SoundPoolEntry |
SoundEvent.getResult(SoundResultEvent event) |