public class EntityAIOpenDoor extends EntityAIDoorInteract
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
closeDoor |
(package private) int |
closeDoorTemporisation |
doorBlock, doorPosition, entity, entityPositionX, entityPositionZ, hasStoppedDoorInteraction
Constructor and Description |
---|
EntityAIOpenDoor(EntityLiving entitylivingIn,
boolean shouldClose) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
void |
startExecuting() |
void |
updateTask() |
shouldExecute
getMutexBits, isInterruptible, setMutexBits
public EntityAIOpenDoor(EntityLiving entitylivingIn, boolean shouldClose)
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIDoorInteract
public void startExecuting()
startExecuting
in class EntityAIDoorInteract
public void resetTask()
resetTask
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIDoorInteract