Class SoundContainerImpl

java.lang.Object
net.minecraft.client.sound.SoundContainerImpl
All Implemented Interfaces:
SoundContainer<Sound>

@Environment(CLIENT)
public class SoundContainerImpl
extends Object
implements SoundContainer<Sound>
Mappings:
Namespace Name
official bqc
intermediary net/minecraft/class_1332
named net/minecraft/client/sound/SoundContainerImpl
  • Field Details

    • sound

      private final Sound sound
      Mappings:
      Namespace Name Mixin selector
      official a Lbqc;a:Lbpw;
      intermediary field_5528 Lnet/minecraft/class_1332;field_5528:Lnet/minecraft/class_1324;
      named sound Lnet/minecraft/client/sound/SoundContainerImpl;sound:Lnet/minecraft/client/sound/Sound;
    • weight

      private final int weight
      Mappings:
      Namespace Name Mixin selector
      official b Lbqc;b:I
      intermediary field_5529 Lnet/minecraft/class_1332;field_5529:I
      named weight Lnet/minecraft/client/sound/SoundContainerImpl;weight:I
  • Constructor Details

    • SoundContainerImpl

      SoundContainerImpl​(Sound sound, int weight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbqc;<init>(Lbpw;I)V
      intermediary <init> Lnet/minecraft/class_1332;<init>(Lnet/minecraft/class_1324;I)V
      named <init> Lnet/minecraft/client/sound/SoundContainerImpl;<init>(Lnet/minecraft/client/sound/Sound;I)V
  • Method Details

    • getWeight

      public int getWeight()
      Specified by:
      getWeight in interface SoundContainer<Sound>
      Mappings:
      Namespace Name Mixin selector
      official a Lbqb;a()I
      intermediary method_4621 Lnet/minecraft/class_1331;method_4621()I
      named getWeight Lnet/minecraft/client/sound/SoundContainer;getWeight()I
    • getSound

      public Sound getSound()
      Specified by:
      getSound in interface SoundContainer<Sound>
      Mappings:
      Namespace Name Mixin selector
      official b Lbqc;b()Lbpw;
      intermediary method_4623 Lnet/minecraft/class_1332;method_4623()Lnet/minecraft/class_1324;
      named getSound Lnet/minecraft/client/sound/SoundContainerImpl;getSound()Lnet/minecraft/client/sound/Sound;