public class EntityAIRestrictOpenDoor extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
private EntityCreature |
entity |
private VillageDoorInfo |
frontDoor |
Constructor and Description |
---|
EntityAIRestrictOpenDoor(EntityCreature creatureIn) |
Modifier and Type | Method and Description |
---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, setMutexBits
private final EntityCreature entity
private VillageDoorInfo frontDoor
public EntityAIRestrictOpenDoor(EntityCreature creatureIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void resetTask()
resetTask
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase