Package net.minecraft.client.sound
Class SoundListener
java.lang.Object
net.minecraft.client.sound.SoundListener
@Environment(CLIENT) public class SoundListener extends Object
- Mappings:
Namespace Name official dkb
intermediary net/minecraft/class_4227
named net/minecraft/client/sound/SoundListener
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SoundListener()
-
Method Summary
Modifier and Type Method Description Vec3d
getPos()
float
getVolume()
void
init()
void
setOrientation(Vec3f at, Vec3f up)
void
setPosition(Vec3d position)
void
setVolume(float volume)
-
Field Details
-
volume
private float volume- Mappings:
Namespace Name Mixin selector official a
Ldkb;a:F
intermediary field_18906
Lnet/minecraft/class_4227;field_18906:F
named volume
Lnet/minecraft/client/sound/SoundListener;volume:F
-
pos
- Mappings:
Namespace Name Mixin selector official b
Ldkb;b:Ldiu;
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
- Mappings:
Namespace Name Mixin selector official a
Ldkb;a(Ldiu;)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
- Mappings:
Namespace Name Mixin selector official a
Ldkb;a()Ldiu;
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
- Mappings:
Namespace Name Mixin selector official a
Ldkb;a(Lg;Lg;)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
Ldkb;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
Ldkb;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
Ldkb;c()V
intermediary method_19673
Lnet/minecraft/class_4227;method_19673()V
named init
Lnet/minecraft/client/sound/SoundListener;init()V
-