static class EntityRabbit.AIRaidFarm extends EntityAIMoveToBlock
| Modifier and Type | Field and Description |
|---|---|
private boolean |
field_179498_d |
private boolean |
field_179499_e |
private EntityRabbit |
field_179500_c |
destinationBlock, runDelay| Constructor and Description |
|---|
AIRaidFarm(EntityRabbit p_i45860_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
void |
resetTask()
Resets the task
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
protected boolean |
shouldMoveTo(World worldIn,
BlockPos pos)
Return true to set given position as destination
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Updates the task
|
getIsAboveDestinationgetMutexBits, isInterruptible, setMutexBitsprivate final EntityRabbit field_179500_c
private boolean field_179498_d
private boolean field_179499_e
public AIRaidFarm(EntityRabbit p_i45860_1_)
public boolean shouldExecute()
EntityAIMoveToBlockshouldExecute in class EntityAIMoveToBlockpublic boolean continueExecuting()
EntityAIMoveToBlockcontinueExecuting in class EntityAIMoveToBlockpublic void startExecuting()
EntityAIMoveToBlockstartExecuting in class EntityAIMoveToBlockpublic void resetTask()
EntityAIMoveToBlockresetTask in class EntityAIMoveToBlockpublic void updateTask()
EntityAIMoveToBlockupdateTask in class EntityAIMoveToBlockprotected boolean shouldMoveTo(World worldIn, BlockPos pos)
EntityAIMoveToBlockshouldMoveTo in class EntityAIMoveToBlock