类 SoundEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.sound.SoundEvent
直接已知子类:
PlaySoundEvent, SoundEngineLoadEvent, SoundEvent.SoundSourceEvent

public abstract class SoundEvent extends net.minecraftforge.eventbus.api.Event
Superclass for sound related events.

These events are fired on the main Forge event bus, only on the logical client.

另请参阅:
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static class 
    Superclass for when a sound has started to play on an audio channel.

    从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private final SoundEngine
     
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
     
  • 方法概要

    修饰符和类型
    方法
    说明
    返回 the sound engine。

    从类继承的方法 net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

  • 构造器详细资料

    • SoundEvent

      @Internal protected SoundEvent(SoundEngine engine)
  • 方法详细资料

    • getEngine

      public SoundEngine getEngine()
      返回 the sound engine。
      返回:
      the sound engine