public class CatLieOnBedGoal extends MoveToBlockGoal
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter
コンストラクタと説明 |
---|
CatLieOnBedGoal(CatEntity catIn,
double speed,
int length) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected int |
getRunDelay(CreatureEntity creatureIn) |
void |
resetTask()
Reset the task's internal state.
|
boolean |
shouldExecute()
Returns whether execution should begin.
|
protected boolean |
shouldMoveTo(IWorldReader 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 |
tick()
Keep ticking a continuous task that has already been started
|
func_220725_g, getIsAboveDestination, getTargetDistanceSq, searchForDestination, shouldContinueExecuting, shouldMove
getMutexFlags, isPreemptible, setMutexFlags, toString
public CatLieOnBedGoal(CatEntity catIn, double speed, int length)
public boolean shouldExecute()
shouldExecute
クラス内 MoveToBlockGoal
public void startExecuting()
startExecuting
クラス内 MoveToBlockGoal
protected int getRunDelay(CreatureEntity creatureIn)
getRunDelay
クラス内 MoveToBlockGoal
public void resetTask()
public void tick()
tick
クラス内 MoveToBlockGoal
protected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo
クラス内 MoveToBlockGoal