public class EntityAIMoveTowardsRestriction extends EntityAIBase
| Modifier and Type | Field and Description |
|---|---|
private EntityCreature |
creature |
private double |
movementSpeed |
private double |
movePosX |
private double |
movePosY |
private double |
movePosZ |
| Constructor and Description |
|---|
EntityAIMoveTowardsRestriction(EntityCreature creatureIn,
double speedIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexBits, isInterruptible, resetTask, setMutexBits, updateTaskprivate final EntityCreature creature
private double movePosX
private double movePosY
private double movePosZ
private final double movementSpeed
public EntityAIMoveTowardsRestriction(EntityCreature creatureIn, double speedIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBase