Class SoundListener

java.lang.Object
net.minecraft.client.sound.SoundListener

@Environment(CLIENT) public class SoundListener extends Object
Mappings:
Namespace Name
official enx
intermediary net/minecraft/class_4227
named net/minecraft/client/sound/SoundListener
  • Field Details

    • volume

      private float volume
      Mappings:
      Namespace Name Mixin selector
      official a Lenx;a:F
      intermediary field_18906 Lnet/minecraft/class_4227;field_18906:F
      named volume Lnet/minecraft/client/sound/SoundListener;volume:F
    • transform

      private SoundListenerTransform transform
      Mappings:
      Namespace Name Mixin selector
      official b Lenx;b:Leny;
      intermediary field_47670 Lnet/minecraft/class_4227;field_47670:Lnet/minecraft/class_9054;
      named transform Lnet/minecraft/client/sound/SoundListener;transform:Lnet/minecraft/client/sound/SoundListenerTransform;
  • Constructor Details

    • SoundListener

      public SoundListener()
  • Method Details

    • setTransform

      public void setTransform(SoundListenerTransform transform)
      Mappings:
      Namespace Name Mixin selector
      official a Lenx;a(Leny;)V
      intermediary method_55584 Lnet/minecraft/class_4227;method_55584(Lnet/minecraft/class_9054;)V
      named setTransform Lnet/minecraft/client/sound/SoundListener;setTransform(Lnet/minecraft/client/sound/SoundListenerTransform;)V
    • setVolume

      public void setVolume(float volume)
      Mappings:
      Namespace Name Mixin selector
      official a Lenx;a(F)V
      intermediary method_19670 Lnet/minecraft/class_4227;method_19670(F)V
      named setVolume Lnet/minecraft/client/sound/SoundListener;setVolume(F)V
    • getVolume

      public float getVolume()
      Mappings:
      Namespace Name Mixin selector
      official a Lenx;a()F
      intermediary method_19669 Lnet/minecraft/class_4227;method_19669()F
      named getVolume Lnet/minecraft/client/sound/SoundListener;getVolume()F
    • init

      public void init()
      Mappings:
      Namespace Name Mixin selector
      official b Lenx;b()V
      intermediary method_19673 Lnet/minecraft/class_4227;method_19673()V
      named init Lnet/minecraft/client/sound/SoundListener;init()V
    • getTransform

      public SoundListenerTransform getTransform()
      Mappings:
      Namespace Name Mixin selector
      official c Lenx;c()Leny;
      intermediary method_55585 Lnet/minecraft/class_4227;method_55585()Lnet/minecraft/class_9054;
      named getTransform Lnet/minecraft/client/sound/SoundListener;getTransform()Lnet/minecraft/client/sound/SoundListenerTransform;