public class EntityAIBreakBlock extends EntityAIMoveToBlock
destinationBlock, field_203112_e, movementSpeed, runDelay, timeoutCounter| Constructor and Description |
|---|
EntityAIBreakBlock(Block p_i48795_1_,
EntityCreature p_i48795_2_,
double p_i48795_3_,
int p_i48795_5_) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getRunDelay(EntityCreature p_203109_1_) |
void |
playBreakingSound(IWorld p_203114_1_,
BlockPos p_203114_2_) |
void |
playBrokenSound(World p_203116_1_,
BlockPos p_203116_2_) |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
protected boolean |
shouldMoveTo(IWorldReaderBase worldIn,
BlockPos pos) |
void |
startExecuting() |
void |
tick() |
getIsAboveDestination, getTargetDistanceSq, getTargetYOffset, shouldMovegetMutexBits, isInterruptible, setMutexBitspublic EntityAIBreakBlock(Block p_i48795_1_, EntityCreature p_i48795_2_, double p_i48795_3_, int p_i48795_5_)
public boolean shouldExecute()
shouldExecute in class EntityAIMoveToBlockprotected int getRunDelay(EntityCreature p_203109_1_)
getRunDelay in class EntityAIMoveToBlockpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIMoveToBlockpublic void resetTask()
resetTask in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIMoveToBlockpublic void tick()
tick in class EntityAIMoveToBlockprotected boolean shouldMoveTo(IWorldReaderBase worldIn, BlockPos pos)
shouldMoveTo in class EntityAIMoveToBlock