接口 SoundContainer<T>

  • 所有已知实现类:
    Sound, WeightedSoundSet

    @Environment(CLIENT)
    public interface SoundContainer<T>
    Mappings:
    Namespace Name
    official ezw
    intermediary net/minecraft/class_1148
    named net/minecraft/client/sound/SoundContainer
    • 方法详细资料

      • getWeight

        int getWeight()
        Mappings:
        Namespace Name Mixin selector
        official e Lezw;e()I
        intermediary method_4894 Lnet/minecraft/class_1148;method_4894()I
        named getWeight Lnet/minecraft/client/sound/SoundContainer;getWeight()I
      • getSound

        T getSound()
        Mappings:
        Namespace Name Mixin selector
        official k Lezw;k()Ljava/lang/Object;
        intermediary method_4893 Lnet/minecraft/class_1148;method_4893()Ljava/lang/Object;
        named getSound Lnet/minecraft/client/sound/SoundContainer;getSound()Ljava/lang/Object;
      • preload

        void preload​(SoundSystem soundSystem)
        Mappings:
        Namespace Name Mixin selector
        official a Lezw;a(Lezr;)V
        intermediary method_18188 Lnet/minecraft/class_1148;method_18188(Lnet/minecraft/class_1140;)V
        named preload Lnet/minecraft/client/sound/SoundContainer;preload(Lnet/minecraft/client/sound/SoundSystem;)V