public class EntityAIWander extends EntityAIBase
| Constructor and Description |
|---|
EntityAIWander(EntityCreature creatureIn,
double speedIn) |
EntityAIWander(EntityCreature creatureIn,
double speedIn,
int chance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueExecuting() |
void |
makeUpdate() |
void |
setExecutionChance(int newchance) |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexBits, isInterruptible, resetTask, setMutexBits, updateTaskpublic EntityAIWander(EntityCreature creatureIn, double speedIn)
public EntityAIWander(EntityCreature creatureIn, double speedIn, int chance)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean continueExecuting()
continueExecuting in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void makeUpdate()
public void setExecutionChance(int newchance)