public class EntityAIBreakDoor extends EntityAIDoorInteract
| Modifier and Type | Field and Description |
|---|---|
private int |
breakingTime |
private int |
previousBreakProgress |
doorBlock, doorPosition, entityPositionX, entityPositionZ, hasStoppedDoorInteraction, theEntity| Constructor and Description |
|---|
EntityAIBreakDoor(EntityLiving entityIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
void |
resetTask()
Resets the task
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
void |
updateTask()
Updates the task
|
getMutexBits, isInterruptible, setMutexBitsprivate int breakingTime
private int previousBreakProgress
public EntityAIBreakDoor(EntityLiving entityIn)
public boolean shouldExecute()
shouldExecute in class EntityAIDoorInteractpublic void startExecuting()
startExecuting in class EntityAIDoorInteractpublic boolean continueExecuting()
continueExecuting in class EntityAIDoorInteractpublic void resetTask()
resetTask in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIDoorInteract