类 LookControl

    • 字段详细资料

      • entity

        protected final MobEntity entity
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a:Lasz;
        intermediary field_6361 Lnet/minecraft/class_1333;field_6361:Lnet/minecraft/class_1308;
        named entity Lnet/minecraft/entity/ai/control/LookControl;entity:Lnet/minecraft/entity/mob/MobEntity;
      • yawSpeed

        protected float yawSpeed
        Mappings:
        Namespace Name Mixin selector
        official b Laxt;b:F
        intermediary field_6359 Lnet/minecraft/class_1333;field_6359:F
        named yawSpeed Lnet/minecraft/entity/ai/control/LookControl;yawSpeed:F
      • pitchSpeed

        protected float pitchSpeed
        Mappings:
        Namespace Name Mixin selector
        official c Laxt;c:F
        intermediary field_6358 Lnet/minecraft/class_1333;field_6358:F
        named pitchSpeed Lnet/minecraft/entity/ai/control/LookControl;pitchSpeed:F
      • active

        protected boolean active
        Mappings:
        Namespace Name Mixin selector
        official d Laxt;d:Z
        intermediary field_6360 Lnet/minecraft/class_1333;field_6360:Z
        named active Lnet/minecraft/entity/ai/control/LookControl;active:Z
      • lookX

        protected double lookX
        Mappings:
        Namespace Name Mixin selector
        official e Laxt;e:D
        intermediary field_6364 Lnet/minecraft/class_1333;field_6364:D
        named lookX Lnet/minecraft/entity/ai/control/LookControl;lookX:D
      • lookY

        protected double lookY
        Mappings:
        Namespace Name Mixin selector
        official f Laxt;f:D
        intermediary field_6363 Lnet/minecraft/class_1333;field_6363:D
        named lookY Lnet/minecraft/entity/ai/control/LookControl;lookY:D
      • lookZ

        protected double lookZ
        Mappings:
        Namespace Name Mixin selector
        official g Laxt;g:D
        intermediary field_6362 Lnet/minecraft/class_1333;field_6362:D
        named lookZ Lnet/minecraft/entity/ai/control/LookControl;lookZ:D
    • 构造器详细资料

      • LookControl

        public LookControl​(MobEntity entity)
        Mappings:
        Namespace Name Mixin selector
        official <init> Laxt;<init>(Lasz;)V
        intermediary <init> Lnet/minecraft/class_1333;<init>(Lnet/minecraft/class_1308;)V
        named <init> Lnet/minecraft/entity/ai/control/LookControl;<init>(Lnet/minecraft/entity/mob/MobEntity;)V
    • 方法详细资料

      • lookAt

        public void lookAt​(Vec3d direction)
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a(Ldma;)V
        intermediary method_19615 Lnet/minecraft/class_1333;method_19615(Lnet/minecraft/class_243;)V
        named lookAt Lnet/minecraft/entity/ai/control/LookControl;lookAt(Lnet/minecraft/util/math/Vec3d;)V
      • lookAt

        public void lookAt​(Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a(Lasl;)V
        intermediary method_35111 Lnet/minecraft/class_1333;method_35111(Lnet/minecraft/class_1297;)V
        named lookAt Lnet/minecraft/entity/ai/control/LookControl;lookAt(Lnet/minecraft/entity/Entity;)V
      • lookAt

        public void lookAt​(Entity entity,
                           float yawSpeed,
                           float pitchSpeed)
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a(Lasl;FF)V
        intermediary method_6226 Lnet/minecraft/class_1333;method_6226(Lnet/minecraft/class_1297;FF)V
        named lookAt Lnet/minecraft/entity/ai/control/LookControl;lookAt(Lnet/minecraft/entity/Entity;FF)V
      • lookAt

        public void lookAt​(double x,
                           double y,
                           double z)
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a(DDD)V
        intermediary method_20248 Lnet/minecraft/class_1333;method_20248(DDD)V
        named lookAt Lnet/minecraft/entity/ai/control/LookControl;lookAt(DDD)V
      • lookAt

        public void lookAt​(double x,
                           double y,
                           double z,
                           float yawSpeed,
                           float pitchSpeed)
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a(DDDFF)V
        intermediary method_6230 Lnet/minecraft/class_1333;method_6230(DDDFF)V
        named lookAt Lnet/minecraft/entity/ai/control/LookControl;lookAt(DDDFF)V
      • tick

        public void tick()
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a()V
        intermediary method_6231 Lnet/minecraft/class_1333;method_6231()V
        named tick Lnet/minecraft/entity/ai/control/LookControl;tick()V
      • shouldStayHorizontal

        protected boolean shouldStayHorizontal()
        Mappings:
        Namespace Name Mixin selector
        official b Laxt;b()Z
        intermediary method_20433 Lnet/minecraft/class_1333;method_20433()Z
        named shouldStayHorizontal Lnet/minecraft/entity/ai/control/LookControl;shouldStayHorizontal()Z
      • isActive

        public boolean isActive()
        Mappings:
        Namespace Name Mixin selector
        official c Laxt;c()Z
        intermediary method_6232 Lnet/minecraft/class_1333;method_6232()Z
        named isActive Lnet/minecraft/entity/ai/control/LookControl;isActive()Z
      • getLookX

        public double getLookX()
        Mappings:
        Namespace Name Mixin selector
        official d Laxt;d()D
        intermediary method_6225 Lnet/minecraft/class_1333;method_6225()D
        named getLookX Lnet/minecraft/entity/ai/control/LookControl;getLookX()D
      • getLookY

        public double getLookY()
        Mappings:
        Namespace Name Mixin selector
        official e Laxt;e()D
        intermediary method_6227 Lnet/minecraft/class_1333;method_6227()D
        named getLookY Lnet/minecraft/entity/ai/control/LookControl;getLookY()D
      • getLookZ

        public double getLookZ()
        Mappings:
        Namespace Name Mixin selector
        official f Laxt;f()D
        intermediary method_6228 Lnet/minecraft/class_1333;method_6228()D
        named getLookZ Lnet/minecraft/entity/ai/control/LookControl;getLookZ()D
      • getTargetPitch

        protected float getTargetPitch()
        Mappings:
        Namespace Name Mixin selector
        official g Laxt;g()F
        intermediary method_20250 Lnet/minecraft/class_1333;method_20250()F
        named getTargetPitch Lnet/minecraft/entity/ai/control/LookControl;getTargetPitch()F
      • getTargetYaw

        protected float getTargetYaw()
        Mappings:
        Namespace Name Mixin selector
        official h Laxt;h()F
        intermediary method_20251 Lnet/minecraft/class_1333;method_20251()F
        named getTargetYaw Lnet/minecraft/entity/ai/control/LookControl;getTargetYaw()F
      • changeAngle

        protected float changeAngle​(float from,
                                    float to,
                                    float max)
        Mappings:
        Namespace Name Mixin selector
        official a Laxt;a(FFF)F
        intermediary method_6229 Lnet/minecraft/class_1333;method_6229(FFF)F
        named changeAngle Lnet/minecraft/entity/ai/control/LookControl;changeAngle(FFF)F
      • getLookingHeightFor

        private static double getLookingHeightFor​(Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official b Laxt;b(Lasl;)D
        intermediary method_20249 Lnet/minecraft/class_1333;method_20249(Lnet/minecraft/class_1297;)D
        named getLookingHeightFor Lnet/minecraft/entity/ai/control/LookControl;getLookingHeightFor(Lnet/minecraft/entity/Entity;)D