类 SoundEvent.SoundSourceEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.sound.SoundEvent
net.minecraftforge.client.event.sound.SoundEvent.SoundSourceEvent
- 封闭类:
SoundEvent
Superclass for when a sound has started to play on an audio channel.
These events are fired on the main Forge event bus, only on the logical client.
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.client.event.sound.SoundEvent
SoundEvent.SoundSourceEvent
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.client.event.sound.SoundEvent
getEngine
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
sound
-
channel
-
name
-
-
构造器详细资料
-
SoundSourceEvent
-
-
方法详细资料
-
getSound
返回 the sound being played。- 返回:
- the sound being played
-
getChannel
返回 the audio channel on which the sound is playing on。- 返回:
- the audio channel on which the sound is playing on
-
getName
返回 the name of the sound being played。 This is equivalent to the path of the location of the original sound.- 返回:
- the name of the sound being played
-