static class GhastEntity.GhastMoveControl extends MoveControl
MoveControl.State
Modifier and Type | Field and Description |
---|---|
private int |
collisionCheckCooldown |
private GhastEntity |
ghast |
entity, forwardMovement, sidewaysMovement, speed, state, targetX, targetY, targetZ
Constructor and Description |
---|
GhastMoveControl(GhastEntity ghast) |
Modifier and Type | Method and Description |
---|---|
void |
tick() |
private boolean |
willCollide(Vec3d direction,
int steps) |
changeAngle, getSpeed, getTargetX, getTargetY, getTargetZ, isMoving, moveTo, strafeTo
private final GhastEntity ghast
private int collisionCheckCooldown
public GhastMoveControl(GhastEntity ghast)
public void tick()
tick
in class MoveControl
private boolean willCollide(Vec3d direction, int steps)