Package net.minecraft.entity.monster
Class SlimeEntity.MoveHelperController
- java.lang.Object
-
- net.minecraft.entity.ai.controller.MovementController
-
- net.minecraft.entity.monster.SlimeEntity.MoveHelperController
-
- Enclosing class:
- SlimeEntity
static class SlimeEntity.MoveHelperController extends MovementController
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.entity.ai.controller.MovementController
MovementController.Action
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isAggressive
private int
jumpDelay
private SlimeEntity
slime
private float
yRot
-
Fields inherited from class net.minecraft.entity.ai.controller.MovementController
mob, operation, speedModifier, strafeForwards, strafeRight, wantedX, wantedY, wantedZ
-
-
Constructor Summary
Constructors Constructor Description MoveHelperController(SlimeEntity p_i45821_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDirection(float p_179920_1_, boolean p_179920_2_)
void
setWantedMovement(double p_179921_1_)
void
tick()
-
Methods inherited from class net.minecraft.entity.ai.controller.MovementController
getSpeedModifier, getWantedX, getWantedY, getWantedZ, hasWanted, rotlerp, setWantedPosition, strafe
-
-
-
-
Field Detail
-
yRot
private float yRot
-
jumpDelay
private int jumpDelay
-
slime
private final SlimeEntity slime
-
isAggressive
private boolean isAggressive
-
-
Constructor Detail
-
MoveHelperController
public MoveHelperController(SlimeEntity p_i45821_1_)
-
-
Method Detail
-
setDirection
public void setDirection(float p_179920_1_, boolean p_179920_2_)
-
setWantedMovement
public void setWantedMovement(double p_179921_1_)
-
tick
public void tick()
- Overrides:
tick
in classMovementController
-
-