Package net.minecraft.entity.ai.control
Class MoveControl
java.lang.Object
net.minecraft.entity.ai.control.MoveControl
- Direct Known Subclasses:
GhastEntity.GhastMoveControl,GuardianEntity.GuardianMoveControl,RabbitEntity.RabbitMoveControl,SlimeEntity.SlimeMoveControl
- Mappings:
Namespace Name official qqintermediary net/minecraft/class_884named net/minecraft/entity/ai/control/MoveControl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetSpeed()doubledoubledoublebooleanisMoving()voidmoveTo(double x, double y, double z, double speed) voidprotected floatwrapDegrees(float from, float to, float max)
-
Field Details
-
entity
- Mappings:
Namespace Name Mixin selector official aLqq;a:Lps;intermediary field_3440Lnet/minecraft/class_884;field_3440:Lnet/minecraft/class_871;named entityLnet/minecraft/entity/ai/control/MoveControl;entity:Lnet/minecraft/entity/mob/MobEntity;
-
targetX
protected double targetX- Mappings:
Namespace Name Mixin selector official bLqq;b:Dintermediary field_3441Lnet/minecraft/class_884;field_3441:Dnamed targetXLnet/minecraft/entity/ai/control/MoveControl;targetX:D
-
targetY
protected double targetY- Mappings:
Namespace Name Mixin selector official cLqq;c:Dintermediary field_3442Lnet/minecraft/class_884;field_3442:Dnamed targetYLnet/minecraft/entity/ai/control/MoveControl;targetY:D
-
targetZ
protected double targetZ- Mappings:
Namespace Name Mixin selector official dLqq;d:Dintermediary field_3443Lnet/minecraft/class_884;field_3443:Dnamed targetZLnet/minecraft/entity/ai/control/MoveControl;targetZ:D
-
speed
protected double speed- Mappings:
Namespace Name Mixin selector official eLqq;e:Dintermediary field_6836Lnet/minecraft/class_884;field_6836:Dnamed speedLnet/minecraft/entity/ai/control/MoveControl;speed:D
-
moving
protected boolean moving- Mappings:
Namespace Name Mixin selector official fLqq;f:Zintermediary field_3445Lnet/minecraft/class_884;field_3445:Znamed movingLnet/minecraft/entity/ai/control/MoveControl;moving:Z
-
-
Constructor Details
-
MoveControl
- Mappings:
Namespace Name Mixin selector official <init>Lqq;<init>(Lps;)Vintermediary <init>Lnet/minecraft/class_884;<init>(Lnet/minecraft/class_871;)Vnamed <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 aLqq;a()Zintermediary method_2730Lnet/minecraft/class_884;method_2730()Znamed isMovingLnet/minecraft/entity/ai/control/MoveControl;isMoving()Z
-
getSpeed
public double getSpeed()- Mappings:
Namespace Name Mixin selector official bLqq;b()Dintermediary method_2733Lnet/minecraft/class_884;method_2733()Dnamed getSpeedLnet/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 aLqq;a(DDDD)Vintermediary method_2731Lnet/minecraft/class_884;method_2731(DDDD)Vnamed moveToLnet/minecraft/entity/ai/control/MoveControl;moveTo(DDDD)V
-
updateMovement
public void updateMovement()- Mappings:
Namespace Name Mixin selector official cLqq;c()Vintermediary method_2734Lnet/minecraft/class_884;method_2734()Vnamed updateMovementLnet/minecraft/entity/ai/control/MoveControl;updateMovement()V
-
wrapDegrees
protected float wrapDegrees(float from, float to, float max) - Mappings:
Namespace Name Mixin selector official aLqq;a(FFF)Fintermediary method_2732Lnet/minecraft/class_884;method_2732(FFF)Fnamed wrapDegreesLnet/minecraft/entity/ai/control/MoveControl;wrapDegrees(FFF)F
-
getTargetX
public double getTargetX()- Mappings:
Namespace Name Mixin selector official dLqq;d()Dintermediary method_11003Lnet/minecraft/class_884;method_11003()Dnamed getTargetXLnet/minecraft/entity/ai/control/MoveControl;getTargetX()D
-
getTargetY
public double getTargetY()- Mappings:
Namespace Name Mixin selector official eLqq;e()Dintermediary method_11004Lnet/minecraft/class_884;method_11004()Dnamed getTargetYLnet/minecraft/entity/ai/control/MoveControl;getTargetY()D
-
getTargetZ
public double getTargetZ()- Mappings:
Namespace Name Mixin selector official fLqq;f()Dintermediary method_11005Lnet/minecraft/class_884;method_11005()Dnamed getTargetZLnet/minecraft/entity/ai/control/MoveControl;getTargetZ()D
-