public class BreakBlockGoal extends MoveToBlockGoal
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter| コンストラクタと説明 | 
|---|
| BreakBlockGoal(Block blockIn,
              CreatureEntity creature,
              double speed,
              int yMax) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | playBreakingSound(IWorld worldIn,
                 BlockPos pos) | 
| void | playBrokenSound(World worldIn,
               BlockPos pos) | 
| 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 BreakBlockGoal(Block blockIn, CreatureEntity creature, double speed, int yMax)
public boolean shouldExecute()
shouldExecute クラス内 MoveToBlockGoalpublic void resetTask()
public void startExecuting()
startExecuting クラス内 MoveToBlockGoalpublic void tick()
tick クラス内 MoveToBlockGoalprotected boolean shouldMoveTo(IWorldReader worldIn, BlockPos pos)
shouldMoveTo クラス内 MoveToBlockGoal