public class BreakBlockGoal extends MoveToBlockGoal
creature, destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter| Constructor and Description | 
|---|
| BreakBlockGoal(Block p_i48795_1_,
              CreatureEntity creature,
              double speed,
              int yMax) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | playBreakingSound(IWorld p_203114_1_,
                 BlockPos p_203114_2_) | 
| void | playBrokenSound(World p_203116_1_,
               BlockPos p_203116_2_) | 
| 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, setMutexFlagspublic BreakBlockGoal(Block p_i48795_1_, CreatureEntity creature, double speed, int yMax)
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