public class CatSitOnBlockGoal extends MoveToBlockGoal
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter| コンストラクタと説明 |
|---|
CatSitOnBlockGoal(CatEntity p_i50330_1_,
double p_i50330_2_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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, getRunDelay, getTargetDistanceSq, searchForDestination, shouldContinueExecuting, shouldMovegetMutexFlags, isPreemptible, setMutexFlags, toStringpublic CatSitOnBlockGoal(CatEntity p_i50330_1_, double p_i50330_2_)
public boolean shouldExecute()
shouldExecute クラス内 MoveToBlockGoalpublic void startExecuting()
startExecuting クラス内 MoveToBlockGoalpublic void resetTask()
public void tick()
tick クラス内 MoveToBlockGoalprotected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo クラス内 MoveToBlockGoal