public class EntityAIHarvestFarmland extends EntityAIMoveToBlock
destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter| Constructor and Description |
|---|
EntityAIHarvestFarmland(EntityVillager villagerIn,
double speedIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(IWorldReaderBase worldIn,
BlockPos pos) |
void |
tick() |
getIsAboveDestination, getRunDelay, getTargetDistanceSq, getTargetYOffset, shouldMove, startExecutinggetMutexBits, isInterruptible, resetTask, setMutexBitspublic EntityAIHarvestFarmland(EntityVillager villagerIn, double speedIn)
public boolean shouldExecute()
shouldExecute in class EntityAIMoveToBlockpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIMoveToBlockpublic void tick()
tick in class EntityAIMoveToBlockprotected boolean shouldMoveTo(IWorldReaderBase worldIn, BlockPos pos)
shouldMoveTo in class EntityAIMoveToBlock