Class Turtle.TurtleMoveControl
java.lang.Object
net.minecraft.world.entity.ai.control.MoveControl
net.minecraft.world.entity.animal.Turtle.TurtleMoveControl
- All Implemented Interfaces:
Control
- Enclosing class:
Turtle
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.control.MoveControl
MoveControl.Operation
-
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.control.MoveControl
MAX_TURN, MIN_SPEED, MIN_SPEED_SQR, mob, operation, speedModifier, strafeForwards, strafeRight, wantedX, wantedY, wantedZ
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.control.MoveControl
getSpeedModifier, getWantedX, getWantedY, getWantedZ, hasWanted, rotlerp, setWantedPosition, strafe
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.entity.ai.control.Control
rotateTowards
-
Field Details
-
turtle
-
-
Constructor Details
-
TurtleMoveControl
TurtleMoveControl(Turtle p_30286_)
-
-
Method Details
-
updateSpeed
private void updateSpeed() -
tick
public void tick()- Overrides:
tick
in classMoveControl
-