类 SoundListener


  • @Environment(CLIENT)
    public class SoundListener
    extends Object
    Mappings:
    Namespace Name
    official dnk
    intermediary net/minecraft/class_4227
    named net/minecraft/client/sound/SoundListener
    • 字段详细资料

      • volume

        private float volume
        Mappings:
        Namespace Name Mixin selector
        official a Ldnk;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 Ldnk;b:Ldma;
        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;
    • 构造器详细资料

      • SoundListener

        public SoundListener()
    • 方法详细资料

      • setPosition

        public void setPosition​(Vec3d position)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnk;a(Ldma;)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 Ldnk;a()Ldma;
        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 Ldnk;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 Ldnk;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 Ldnk;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 Ldnk;c()V
        intermediary method_19673 Lnet/minecraft/class_4227;method_19673()V
        named init Lnet/minecraft/client/sound/SoundListener;init()V