Package net.minecraft.client.sound
Class SoundListener
java.lang.Object
net.minecraft.client.sound.SoundListener
@Environment(CLIENT) public class SoundListener extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SoundListener()
-
Method Summary
Modifier and Type Method Description Vec3d
getPos()
float
getVolume()
void
init()
void
setOrientation(Vector3f at, Vector3f up)
void
setPosition(Vec3d position)
void
setVolume(float volume)
-
Field Details
-
volume
private float volume -
pos
-
-
Constructor Details
-
SoundListener
public SoundListener()
-
-
Method Details
-
setPosition
-
getPos
-
setOrientation
-
setVolume
public void setVolume(float volume) -
getVolume
public float getVolume() -
init
public void init()
-