Interface SoundContainer<T>

All Known Implementing Classes:
Sound, WeightedSoundSet

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

    • getWeight

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

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

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