Interface SoundContainer<T>

All Known Implementing Classes:
Sound, WeightedSoundSet

@Environment(CLIENT) public interface SoundContainer<T>
Mappings:
Namespace Name
official fmd
intermediary net/minecraft/class_1148
named net/minecraft/client/sound/SoundContainer
  • Method Details

    • getWeight

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

      T getSound(Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Lfmd;b(Lalu;)Ljava/lang/Object;
      intermediary method_4893 Lnet/minecraft/class_1148;method_4893(Lnet/minecraft/class_5819;)Ljava/lang/Object;
      named getSound Lnet/minecraft/client/sound/SoundContainer;getSound(Lnet/minecraft/util/math/random/Random;)Ljava/lang/Object;
    • preload

      void preload(SoundSystem soundSystem)
      Mappings:
      Namespace Name Mixin selector
      official a Lfmd;a(Lfly;)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