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