Class SoundListener

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

@Environment(CLIENT)
public class SoundListener
extends Object
  • Field Details

    • volume

      private float volume
    • pos

      private Vec3d pos
  • Constructor Details

    • SoundListener

      public SoundListener()
  • Method Details

    • setPosition

      public void setPosition​(Vec3d position)
    • getPos

      public Vec3d getPos()
    • setOrientation

      public void setOrientation​(Vector3f at, Vector3f up)
    • setVolume

      public void setVolume​(float volume)
    • getVolume

      public float getVolume()
    • init

      public void init()