public class EntityAIOcelotSit extends EntityAIMoveToBlock
| Modifier and Type | Field and Description |
|---|---|
private EntityOcelot |
ocelot |
destinationBlock, runDelay| Constructor and Description |
|---|
EntityAIOcelotSit(EntityOcelot ocelotIn,
double p_i45315_2_) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(World worldIn,
BlockPos pos) |
void |
startExecuting() |
void |
updateTask() |
getIsAboveDestination, shouldContinueExecutinggetMutexBits, isInterruptible, setMutexBitsprivate final EntityOcelot ocelot
public EntityAIOcelotSit(EntityOcelot ocelotIn, double p_i45315_2_)
public boolean shouldExecute()
shouldExecute in class EntityAIMoveToBlockpublic void startExecuting()
startExecuting in class EntityAIMoveToBlockpublic void resetTask()
resetTask in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIMoveToBlockprotected boolean shouldMoveTo(World worldIn, BlockPos pos)
shouldMoveTo in class EntityAIMoveToBlock