static class RabbitEntity.RabbitMoveControl extends MoveControl
MoveControl.State
Modifier and Type | Field and Description |
---|---|
private RabbitEntity |
rabbit |
private double |
rabbitSpeed |
entity, forwardMovement, sidewaysMovement, speed, state, targetX, targetY, targetZ
Constructor and Description |
---|
RabbitMoveControl(RabbitEntity owner) |
Modifier and Type | Method and Description |
---|---|
void |
moveTo(double x,
double y,
double z,
double speed) |
void |
tick() |
changeAngle, getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, strafeTo
private final RabbitEntity rabbit
private double rabbitSpeed
public RabbitMoveControl(RabbitEntity owner)
public void tick()
tick
in class MoveControl
public void moveTo(double x, double y, double z, double speed)
moveTo
in class MoveControl