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 |
PlaySoundEffectSourceEvent |
class |
PlaySoundEvent
Raised when the SoundManager tries to play a normal sound,
dogs barking, footsteps, etc.
|
class |
PlaySoundSourceEvent |
class |
PlayStreamingEvent
Raised when the SoundManager tries to play a 'Streaming' file,
in vanilla it is only the Jukebox that uses this function.
|
class |
PlayStreamingSourceEvent |
class |
SoundLoadEvent
Raised by the SoundManager.loadSoundSettings, this would be a good place for
adding your custom sounds to the SoundPool.
|
class |
SoundResultEvent |
class |
SoundSetupEvent
This event is raised by the SoundManager when it does its first setup of the
SoundSystemConfig's codecs, use this function to add your own codecs.
|