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
|
getIsAboveDestination
getMutexBits, isInterruptible, setMutexBits
private final EntityRabbit field_179500_c
private boolean field_179498_d
private boolean field_179499_e
public AIRaidFarm(EntityRabbit p_i45860_1_)
public boolean shouldExecute()
EntityAIMoveToBlock
shouldExecute
in class EntityAIMoveToBlock
public boolean continueExecuting()
EntityAIMoveToBlock
continueExecuting
in class EntityAIMoveToBlock
public void startExecuting()
EntityAIMoveToBlock
startExecuting
in class EntityAIMoveToBlock
public void resetTask()
EntityAIMoveToBlock
resetTask
in class EntityAIMoveToBlock
public void updateTask()
EntityAIMoveToBlock
updateTask
in class EntityAIMoveToBlock
protected boolean shouldMoveTo(World worldIn, BlockPos pos)
EntityAIMoveToBlock
shouldMoveTo
in class EntityAIMoveToBlock