Class MoveControl

java.lang.Object
net.minecraft.entity.ai.control.MoveControl
Direct Known Subclasses:
GhastEntity.GhastMoveControl, GuardianEntity.GuardianMoveControl, RabbitEntity.RabbitMoveControl, SlimeEntity.SlimeMoveControl

public class MoveControl extends Object
Mappings:
Namespace Name
official qq
intermediary net/minecraft/class_884
named net/minecraft/entity/ai/control/MoveControl
  • Field Details

    • entity

      protected MobEntity entity
      Mappings:
      Namespace Name Mixin selector
      official a Lqq;a:Lps;
      intermediary field_3440 Lnet/minecraft/class_884;field_3440:Lnet/minecraft/class_871;
      named entity Lnet/minecraft/entity/ai/control/MoveControl;entity:Lnet/minecraft/entity/mob/MobEntity;
    • targetX

      protected double targetX
      Mappings:
      Namespace Name Mixin selector
      official b Lqq;b:D
      intermediary field_3441 Lnet/minecraft/class_884;field_3441:D
      named targetX Lnet/minecraft/entity/ai/control/MoveControl;targetX:D
    • targetY

      protected double targetY
      Mappings:
      Namespace Name Mixin selector
      official c Lqq;c:D
      intermediary field_3442 Lnet/minecraft/class_884;field_3442:D
      named targetY Lnet/minecraft/entity/ai/control/MoveControl;targetY:D
    • targetZ

      protected double targetZ
      Mappings:
      Namespace Name Mixin selector
      official d Lqq;d:D
      intermediary field_3443 Lnet/minecraft/class_884;field_3443:D
      named targetZ Lnet/minecraft/entity/ai/control/MoveControl;targetZ:D
    • speed

      protected double speed
      Mappings:
      Namespace Name Mixin selector
      official e Lqq;e:D
      intermediary field_6836 Lnet/minecraft/class_884;field_6836:D
      named speed Lnet/minecraft/entity/ai/control/MoveControl;speed:D
    • moving

      protected boolean moving
      Mappings:
      Namespace Name Mixin selector
      official f Lqq;f:Z
      intermediary field_3445 Lnet/minecraft/class_884;field_3445:Z
      named moving Lnet/minecraft/entity/ai/control/MoveControl;moving:Z
  • Constructor Details

    • MoveControl

      public MoveControl(MobEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqq;<init>(Lps;)V
      intermediary <init> Lnet/minecraft/class_884;<init>(Lnet/minecraft/class_871;)V
      named <init> Lnet/minecraft/entity/ai/control/MoveControl;<init>(Lnet/minecraft/entity/mob/MobEntity;)V
  • Method Details

    • isMoving

      public boolean isMoving()
      Mappings:
      Namespace Name Mixin selector
      official a Lqq;a()Z
      intermediary method_2730 Lnet/minecraft/class_884;method_2730()Z
      named isMoving Lnet/minecraft/entity/ai/control/MoveControl;isMoving()Z
    • getSpeed

      public double getSpeed()
      Mappings:
      Namespace Name Mixin selector
      official b Lqq;b()D
      intermediary method_2733 Lnet/minecraft/class_884;method_2733()D
      named getSpeed Lnet/minecraft/entity/ai/control/MoveControl;getSpeed()D
    • moveTo

      public void moveTo(double x, double y, double z, double speed)
      Mappings:
      Namespace Name Mixin selector
      official a Lqq;a(DDDD)V
      intermediary method_2731 Lnet/minecraft/class_884;method_2731(DDDD)V
      named moveTo Lnet/minecraft/entity/ai/control/MoveControl;moveTo(DDDD)V
    • updateMovement

      public void updateMovement()
      Mappings:
      Namespace Name Mixin selector
      official c Lqq;c()V
      intermediary method_2734 Lnet/minecraft/class_884;method_2734()V
      named updateMovement Lnet/minecraft/entity/ai/control/MoveControl;updateMovement()V
    • wrapDegrees

      protected float wrapDegrees(float from, float to, float max)
      Mappings:
      Namespace Name Mixin selector
      official a Lqq;a(FFF)F
      intermediary method_2732 Lnet/minecraft/class_884;method_2732(FFF)F
      named wrapDegrees Lnet/minecraft/entity/ai/control/MoveControl;wrapDegrees(FFF)F
    • getTargetX

      public double getTargetX()
      Mappings:
      Namespace Name Mixin selector
      official d Lqq;d()D
      intermediary method_11003 Lnet/minecraft/class_884;method_11003()D
      named getTargetX Lnet/minecraft/entity/ai/control/MoveControl;getTargetX()D
    • getTargetY

      public double getTargetY()
      Mappings:
      Namespace Name Mixin selector
      official e Lqq;e()D
      intermediary method_11004 Lnet/minecraft/class_884;method_11004()D
      named getTargetY Lnet/minecraft/entity/ai/control/MoveControl;getTargetY()D
    • getTargetZ

      public double getTargetZ()
      Mappings:
      Namespace Name Mixin selector
      official f Lqq;f()D
      intermediary method_11005 Lnet/minecraft/class_884;method_11005()D
      named getTargetZ Lnet/minecraft/entity/ai/control/MoveControl;getTargetZ()D