Class Slime.SlimeMoveControl
java.lang.Object
net.minecraft.world.entity.ai.control.MoveControl
net.minecraft.world.entity.monster.Slime.SlimeMoveControl
- All Implemented Interfaces:
Control
- Enclosing class:
- Slime
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.control.MoveControl
MoveControl.Operation
-
Field Summary
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDirection
(float p_33673_, boolean p_33674_) void
setWantedMovement
(double p_33671_) void
tick()
Methods inherited from class net.minecraft.world.entity.ai.control.MoveControl
getSpeedModifier, getWantedX, getWantedY, getWantedZ, hasWanted, rotlerp, setWantedPosition, strafe
-
Field Details
-
yRot
private float yRot -
jumpDelay
private int jumpDelay -
slime
-
isAggressive
private boolean isAggressive
-
-
Constructor Details
-
SlimeMoveControl
-
-
Method Details
-
setDirection
public void setDirection(float p_33673_, boolean p_33674_) -
setWantedMovement
public void setWantedMovement(double p_33671_) -
tick
public void tick()- Overrides:
tick
in classMoveControl
-