Class SoundListener

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

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

    • volume

      private float volume
      Mappings:
      Namespace Name Mixin selector
      official a Lefc;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 Lefc;b:Lede;
      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 Lefc;a(Lede;)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 Lefc;a()Lede;
      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(Vector3f at, Vector3f up)
      Mappings:
      Namespace Name Mixin selector
      official a Lefc;a(Lorg/joml/Vector3f;Lorg/joml/Vector3f;)V
      intermediary method_19672 Lnet/minecraft/class_4227;method_19672(Lorg/joml/Vector3f;Lorg/joml/Vector3f;)V
      named setOrientation Lnet/minecraft/client/sound/SoundListener;setOrientation(Lorg/joml/Vector3f;Lorg/joml/Vector3f;)V
    • setVolume

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