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