Class SoundListener

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

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

    • volume

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

      private Vec3d pos
      Mappings:
      Namespace Name Mixin selector
      official b Ldyn;b:Ldwq;
      intermediary field_24051 Lnet/minecraft/class_4227;field_24051:Lnet/minecraft/class_243;
      named pos Lnet/minecraft/client/sound/SoundListener;pos:Lnet/minecraft/util/math/Vec3d;
  • Constructor Details

    • SoundListener

      public SoundListener()
  • Method Details

    • setPosition

      public void setPosition(Vec3d position)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyn;a(Ldwq;)V
      intermediary method_19671 Lnet/minecraft/class_4227;method_19671(Lnet/minecraft/class_243;)V
      named setPosition Lnet/minecraft/client/sound/SoundListener;setPosition(Lnet/minecraft/util/math/Vec3d;)V
    • getPos

      public Vec3d getPos()
      Mappings:
      Namespace Name Mixin selector
      official a Ldyn;a()Ldwq;
      intermediary method_27268 Lnet/minecraft/class_4227;method_27268()Lnet/minecraft/class_243;
      named getPos Lnet/minecraft/client/sound/SoundListener;getPos()Lnet/minecraft/util/math/Vec3d;
    • setOrientation

      public void setOrientation(Vec3f at, Vec3f up)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyn;a(Lk;Lk;)V
      intermediary method_19672 Lnet/minecraft/class_4227;method_19672(Lnet/minecraft/class_1160;Lnet/minecraft/class_1160;)V
      named setOrientation Lnet/minecraft/client/sound/SoundListener;setOrientation(Lnet/minecraft/util/math/Vec3f;Lnet/minecraft/util/math/Vec3f;)V
    • setVolume

      public void setVolume(float volume)
      Mappings:
      Namespace Name Mixin selector
      official a Ldyn;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 b Ldyn;b()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 c Ldyn;c()V
      intermediary method_19673 Lnet/minecraft/class_4227;method_19673()V
      named init Lnet/minecraft/client/sound/SoundListener;init()V