Class SoundListener

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

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

    • volume

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