static class SlimeEntity.MoveHelperController extends MovementController
MovementController.Action
Modifier and Type | Field and Description |
---|---|
private boolean |
isAggressive |
private int |
jumpDelay |
private SlimeEntity |
slime |
private float |
yRot |
action, mob, moveForward, moveStrafe, posX, posY, posZ, speed
Constructor and Description |
---|
MoveHelperController(SlimeEntity slimeIn) |
Modifier and Type | Method and Description |
---|---|
void |
setDirection(float yRotIn,
boolean aggressive) |
void |
setSpeed(double speedIn) |
void |
tick() |
getSpeed, getX, getY, getZ, isUpdating, limitAngle, setMoveTo, strafe
private float yRot
private int jumpDelay
private final SlimeEntity slime
private boolean isAggressive
public MoveHelperController(SlimeEntity slimeIn)
public void setDirection(float yRotIn, boolean aggressive)
public void setSpeed(double speedIn)
public void tick()
tick
in class MovementController