public class EntityAIOcelotSit extends EntityAIMoveToBlock
destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter
Constructor and Description |
---|
EntityAIOcelotSit(EntityOcelot ocelotIn,
double p_i45315_2_) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(IWorldReaderBase worldIn,
BlockPos pos) |
void |
startExecuting() |
void |
tick() |
getIsAboveDestination, getRunDelay, getTargetDistanceSq, getTargetYOffset, shouldContinueExecuting, shouldMove
getMutexBits, isInterruptible, setMutexBits
public EntityAIOcelotSit(EntityOcelot ocelotIn, double p_i45315_2_)
public boolean shouldExecute()
shouldExecute
in class EntityAIMoveToBlock
public void startExecuting()
startExecuting
in class EntityAIMoveToBlock
public void resetTask()
resetTask
in class EntityAIBase
public void tick()
tick
in class EntityAIMoveToBlock
protected boolean shouldMoveTo(IWorldReaderBase worldIn, BlockPos pos)
shouldMoveTo
in class EntityAIMoveToBlock