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, setMutexBitsprivate 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 EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBase