public class EntityAIRunAroundLikeCrazy extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private AbstractHorse |
horseHost |
private double |
speed |
private double |
targetX |
private double |
targetY |
private double |
targetZ |
Constructor and Description |
---|
EntityAIRunAroundLikeCrazy(AbstractHorse horse,
double speedIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, resetTask, setMutexBits
private final AbstractHorse horseHost
private final double speed
private double targetX
private double targetY
private double targetZ
public EntityAIRunAroundLikeCrazy(AbstractHorse horse, double speedIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase