public class CatSitOnBlockGoal extends MoveToBlockGoal
| Modifier and Type | Field and Description |
|---|---|
private CatEntity |
field_220728_g |
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter| Constructor and Description |
|---|
CatSitOnBlockGoal(CatEntity p_i50330_1_,
double p_i50330_2_) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(IWorldReader worldIn,
BlockPos pos) |
void |
startExecuting() |
void |
tick() |
func_220725_g, getIsAboveDestination, getRunDelay, getTargetDistanceSq, searchForDestination, shouldContinueExecuting, shouldMovegetMutexFlags, isPreemptible, setMutexFlags, toStringprivate final CatEntity field_220728_g
public CatSitOnBlockGoal(CatEntity p_i50330_1_, double p_i50330_2_)
public boolean shouldExecute()
shouldExecute in class MoveToBlockGoalpublic void startExecuting()
startExecuting in class MoveToBlockGoalpublic void tick()
tick in class MoveToBlockGoalprotected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo in class MoveToBlockGoal