Interface SoundContainer<T>

All Known Implementing Classes:
Sound, WeightedSoundSet

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

    • getWeight

      int getWeight()
      Mappings:
      Namespace Name Mixin selector
      official e Lfyn;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 Lfyn;b(Lapd;)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 Lfyn;a(Lfyi;)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