static class SlimeEntity.SlimeMoveControl extends MoveControl
MoveControl.State
Modifier and Type | Field and Description |
---|---|
private boolean |
jumpOften |
private SlimeEntity |
slime |
private float |
targetYaw |
private int |
ticksUntilJump |
entity, forwardMovement, sidewaysMovement, speed, state, targetX, targetY, targetZ
Constructor and Description |
---|
SlimeMoveControl(SlimeEntity slime) |
Modifier and Type | Method and Description |
---|---|
void |
look(float targetYaw,
boolean jumpOften) |
void |
move(double speed) |
void |
tick() |
changeAngle, getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, strafeTo
private float targetYaw
private int ticksUntilJump
private final SlimeEntity slime
private boolean jumpOften
public SlimeMoveControl(SlimeEntity slime)
public void look(float targetYaw, boolean jumpOften)
public void move(double speed)
public void tick()
tick
in class MoveControl