public class EntityAIHarvestFarmland extends EntityAIMoveToBlock
destinationBlock, runDelay
Constructor and Description |
---|
EntityAIHarvestFarmland(EntityVillager theVillagerIn,
double speedIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueExecuting() |
void |
resetTask() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(World worldIn,
BlockPos pos) |
void |
startExecuting() |
void |
updateTask() |
getIsAboveDestination
getMutexBits, isInterruptible, setMutexBits
public EntityAIHarvestFarmland(EntityVillager theVillagerIn, double speedIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIMoveToBlock
public boolean continueExecuting()
continueExecuting
in class EntityAIMoveToBlock
public void startExecuting()
startExecuting
in class EntityAIMoveToBlock
public void resetTask()
resetTask
in class EntityAIMoveToBlock
public void updateTask()
updateTask
in class EntityAIMoveToBlock
protected boolean shouldMoveTo(World worldIn, BlockPos pos)
shouldMoveTo
in class EntityAIMoveToBlock