Package net.minecraft.entity.ai.control
Class MoveControl
java.lang.Object
net.minecraft.entity.ai.control.MoveControl
- All Implemented Interfaces:
- Control
- Direct Known Subclasses:
- AquaticMoveControl,- CamelEntity.CamelMoveControl,- DrownedEntity.DrownedMoveControl,- FishEntity.FishMoveControl,- FlightMoveControl,- FoxEntity.FoxMoveControl,- GhastEntity.GhastMoveControl,- GuardianEntity.GuardianMoveControl,- PandaEntity.PandaMoveControl,- PhantomEntity.PhantomMoveControl,- RabbitEntity.RabbitMoveControl,- SlimeEntity.SlimeMoveControl,- TurtleEntity.TurtleMoveControl,- VexEntity.VexMoveControl
- Mappings:
- Namespace - Name - official - bly- intermediary - net/minecraft/class_1335- named - net/minecraft/entity/ai/control/MoveControl
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final MobEntitystatic final floatprotected static final intprotected floatstatic final floatprotected floatprotected doubleprotected MoveControl.Stateprotected doubleprotected doubleprotected double
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoublegetSpeed()doubledoubledoublebooleanisMoving()private booleanisPosWalkable(float x, float z) voidmoveTo(double x, double y, double z, double speed) voidstrafeTo(float forward, float sideways) voidtick()protected floatwrapDegrees(float from, float to, float max) 
- 
Field Details- 
field_30197public static final float field_30197- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbly;a:F- intermediary - field_30197- Lnet/minecraft/class_1335;field_30197:F- named - field_30197- Lnet/minecraft/entity/ai/control/MoveControl;field_30197:F
 
- 
REACHED_DESTINATION_DISTANCE_SQUAREDpublic static final float REACHED_DESTINATION_DISTANCE_SQUARED- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbly;b:F- intermediary - field_30198- Lnet/minecraft/class_1335;field_30198:F- named - REACHED_DESTINATION_DISTANCE_SQUARED- Lnet/minecraft/entity/ai/control/MoveControl;REACHED_DESTINATION_DISTANCE_SQUARED:F
 
- 
field_30199protected static final int field_30199- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbly;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- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbly;d:Lbgb;- 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;
 
- 
targetXprotected double targetX- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbly;e:D- intermediary - field_6370- Lnet/minecraft/class_1335;field_6370:D- named - targetX- Lnet/minecraft/entity/ai/control/MoveControl;targetX:D
 
- 
targetYprotected double targetY- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbly;f:D- intermediary - field_6369- Lnet/minecraft/class_1335;field_6369:D- named - targetY- Lnet/minecraft/entity/ai/control/MoveControl;targetY:D
 
- 
targetZprotected double targetZ- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbly;g:D- intermediary - field_6367- Lnet/minecraft/class_1335;field_6367:D- named - targetZ- Lnet/minecraft/entity/ai/control/MoveControl;targetZ:D
 
- 
speedprotected double speed- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbly;h:D- intermediary - field_6372- Lnet/minecraft/class_1335;field_6372:D- named - speed- Lnet/minecraft/entity/ai/control/MoveControl;speed:D
 
- 
forwardMovementprotected float forwardMovement- Mappings:
- Namespace - Name - Mixin selector - official - i- Lbly;i:F- intermediary - field_6368- Lnet/minecraft/class_1335;field_6368:F- named - forwardMovement- Lnet/minecraft/entity/ai/control/MoveControl;forwardMovement:F
 
- 
sidewaysMovementprotected float sidewaysMovement- Mappings:
- Namespace - Name - Mixin selector - official - j- Lbly;j:F- intermediary - field_6373- Lnet/minecraft/class_1335;field_6373:F- named - sidewaysMovement- Lnet/minecraft/entity/ai/control/MoveControl;sidewaysMovement:F
 
- 
state- Mappings:
- Namespace - Name - Mixin selector - official - k- Lbly;k:Lbly$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- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbly;<init>(Lbgb;)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- 
isMovingpublic boolean isMoving()- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbly;b()Z- intermediary - method_6241- Lnet/minecraft/class_1335;method_6241()Z- named - isMoving- Lnet/minecraft/entity/ai/control/MoveControl;isMoving()Z
 
- 
getSpeedpublic double getSpeed()- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbly;c()D- intermediary - method_6242- Lnet/minecraft/class_1335;method_6242()D- named - getSpeed- Lnet/minecraft/entity/ai/control/MoveControl;getSpeed()D
 
- 
moveTopublic void moveTo(double x, double y, double z, double speed) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbly;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
 
- 
strafeTopublic void strafeTo(float forward, float sideways) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbly;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
 
- 
tickpublic void tick()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbly;a()V- intermediary - method_6240- Lnet/minecraft/class_1335;method_6240()V- named - tick- Lnet/minecraft/entity/ai/control/MoveControl;tick()V
 
- 
isPosWalkableprivate boolean isPosWalkable(float x, float z) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lbly;b(FF)Z- intermediary - method_25946- Lnet/minecraft/class_1335;method_25946(FF)Z- named - isPosWalkable- Lnet/minecraft/entity/ai/control/MoveControl;isPosWalkable(FF)Z
 
- 
wrapDegreesprotected float wrapDegrees(float from, float to, float max) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbly;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
 
- 
getTargetXpublic double getTargetX()- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbly;d()D- intermediary - method_6236- Lnet/minecraft/class_1335;method_6236()D- named - getTargetX- Lnet/minecraft/entity/ai/control/MoveControl;getTargetX()D
 
- 
getTargetYpublic double getTargetY()- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbly;e()D- intermediary - method_6235- Lnet/minecraft/class_1335;method_6235()D- named - getTargetY- Lnet/minecraft/entity/ai/control/MoveControl;getTargetY()D
 
- 
getTargetZpublic double getTargetZ()- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbly;f()D- intermediary - method_6237- Lnet/minecraft/class_1335;method_6237()D- named - getTargetZ- Lnet/minecraft/entity/ai/control/MoveControl;getTargetZ()D
 
 
-