Class MoveControl

java.lang.Object
net.minecraft.entity.ai.control.MoveControl
All Implemented Interfaces:
Control
Direct Known Subclasses:
AquaticMoveControl, DrownedEntity.DrownedMoveControl, FishEntity.FishMoveControl, FlightMoveControl, FoxEntity.FoxMoveControl, GhastEntity.GhastMoveControl, GuardianEntity.GuardianMoveControl, PandaEntity.PandaMoveControl, PhantomEntity.PhantomMoveControl, RabbitEntity.RabbitMoveControl, SlimeEntity.SlimeMoveControl, TurtleEntity.TurtleMoveControl, VexEntity.VexMoveControl

public class MoveControl extends Object implements Control
Mappings:
Namespace Name
official bby
intermediary net/minecraft/class_1335
named net/minecraft/entity/ai/control/MoveControl
  • Field Details

    • field_30197

      public static final float field_30197
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbby;a:F
      intermediary field_30197 Lnet/minecraft/class_1335;field_30197:F
      named field_30197 Lnet/minecraft/entity/ai/control/MoveControl;field_30197:F
    • field_30198

      public static final float field_30198
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbby;b:F
      intermediary field_30198 Lnet/minecraft/class_1335;field_30198:F
      named field_30198 Lnet/minecraft/entity/ai/control/MoveControl;field_30198:F
    • field_30199

      protected static final int field_30199
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbby;c:I
      intermediary field_30199 Lnet/minecraft/class_1335;field_30199:I
      named field_30199 Lnet/minecraft/entity/ai/control/MoveControl;field_30199:I
    • entity

      protected final MobEntity entity
      Mappings:
      Namespace Name Mixin selector
      official d Lbby;d:Laxc;
      intermediary field_6371 Lnet/minecraft/class_1335;field_6371:Lnet/minecraft/class_1308;
      named entity Lnet/minecraft/entity/ai/control/MoveControl;entity:Lnet/minecraft/entity/mob/MobEntity;
    • targetX

      protected double targetX
      Mappings:
      Namespace Name Mixin selector
      official e Lbby;e:D
      intermediary field_6370 Lnet/minecraft/class_1335;field_6370:D
      named targetX Lnet/minecraft/entity/ai/control/MoveControl;targetX:D
    • targetY

      protected double targetY
      Mappings:
      Namespace Name Mixin selector
      official f Lbby;f:D
      intermediary field_6369 Lnet/minecraft/class_1335;field_6369:D
      named targetY Lnet/minecraft/entity/ai/control/MoveControl;targetY:D
    • targetZ

      protected double targetZ
      Mappings:
      Namespace Name Mixin selector
      official g Lbby;g:D
      intermediary field_6367 Lnet/minecraft/class_1335;field_6367:D
      named targetZ Lnet/minecraft/entity/ai/control/MoveControl;targetZ:D
    • speed

      protected double speed
      Mappings:
      Namespace Name Mixin selector
      official h Lbby;h:D
      intermediary field_6372 Lnet/minecraft/class_1335;field_6372:D
      named speed Lnet/minecraft/entity/ai/control/MoveControl;speed:D
    • forwardMovement

      protected float forwardMovement
      Mappings:
      Namespace Name Mixin selector
      official i Lbby;i:F
      intermediary field_6368 Lnet/minecraft/class_1335;field_6368:F
      named forwardMovement Lnet/minecraft/entity/ai/control/MoveControl;forwardMovement:F
    • sidewaysMovement

      protected float sidewaysMovement
      Mappings:
      Namespace Name Mixin selector
      official j Lbby;j:F
      intermediary field_6373 Lnet/minecraft/class_1335;field_6373:F
      named sidewaysMovement Lnet/minecraft/entity/ai/control/MoveControl;sidewaysMovement:F
    • state

      protected MoveControl.State state
      Mappings:
      Namespace Name Mixin selector
      official k Lbby;k:Lbby$a;
      intermediary field_6374 Lnet/minecraft/class_1335;field_6374:Lnet/minecraft/class_1335$class_1336;
      named state Lnet/minecraft/entity/ai/control/MoveControl;state:Lnet/minecraft/entity/ai/control/MoveControl$State;
  • Constructor Details

    • MoveControl

      public MoveControl(MobEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbby;<init>(Laxc;)V
      intermediary <init> Lnet/minecraft/class_1335;<init>(Lnet/minecraft/class_1308;)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 b Lbby;b()Z
      intermediary method_6241 Lnet/minecraft/class_1335;method_6241()Z
      named isMoving Lnet/minecraft/entity/ai/control/MoveControl;isMoving()Z
    • getSpeed

      public double getSpeed()
      Mappings:
      Namespace Name Mixin selector
      official c Lbby;c()D
      intermediary method_6242 Lnet/minecraft/class_1335;method_6242()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 Lbby;a(DDDD)V
      intermediary method_6239 Lnet/minecraft/class_1335;method_6239(DDDD)V
      named moveTo Lnet/minecraft/entity/ai/control/MoveControl;moveTo(DDDD)V
    • strafeTo

      public void strafeTo(float forward, float sideways)
      Mappings:
      Namespace Name Mixin selector
      official a Lbby;a(FF)V
      intermediary method_6243 Lnet/minecraft/class_1335;method_6243(FF)V
      named strafeTo Lnet/minecraft/entity/ai/control/MoveControl;strafeTo(FF)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Lbby;a()V
      intermediary method_6240 Lnet/minecraft/class_1335;method_6240()V
      named tick Lnet/minecraft/entity/ai/control/MoveControl;tick()V
    • method_25946

      private boolean method_25946(float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      official b Lbby;b(FF)Z
      intermediary method_25946 Lnet/minecraft/class_1335;method_25946(FF)Z
      named method_25946 Lnet/minecraft/entity/ai/control/MoveControl;method_25946(FF)Z
    • wrapDegrees

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

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

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

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