public class CatLieOnBedGoal extends MoveToBlockGoal
Modifier and Type | Field and Description |
---|---|
private CatEntity |
cat |
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter
Constructor and Description |
---|
CatLieOnBedGoal(CatEntity catIn,
double speed,
int length) |
Modifier and Type | Method and Description |
---|---|
protected int |
getRunDelay(CreatureEntity creatureIn) |
void |
resetTask() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(IWorldReader worldIn,
BlockPos pos) |
void |
startExecuting() |
void |
tick() |
func_220725_g, getIsAboveDestination, getTargetDistanceSq, searchForDestination, shouldContinueExecuting, shouldMove
getMutexFlags, isPreemptible, setMutexFlags, toString
private final CatEntity cat
public CatLieOnBedGoal(CatEntity catIn, double speed, int length)
public boolean shouldExecute()
shouldExecute
in class MoveToBlockGoal
public void startExecuting()
startExecuting
in class MoveToBlockGoal
protected int getRunDelay(CreatureEntity creatureIn)
getRunDelay
in class MoveToBlockGoal
public void tick()
tick
in class MoveToBlockGoal
protected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo
in class MoveToBlockGoal