public abstract class EntityAIDoorInteract extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
protected BlockDoor |
doorBlock |
protected BlockPos |
doorPosition |
protected EntityLiving |
entity |
(package private) float |
entityPositionX |
(package private) float |
entityPositionZ |
(package private) boolean |
hasStoppedDoorInteraction |
Constructor and Description |
---|
EntityAIDoorInteract(EntityLiving entityIn) |
Modifier and Type | Method and Description |
---|---|
private BlockDoor |
getBlockDoor(BlockPos pos) |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
updateTask() |
getMutexBits, isInterruptible, resetTask, setMutexBits
protected EntityLiving entity
protected BlockPos doorPosition
protected BlockDoor doorBlock
boolean hasStoppedDoorInteraction
float entityPositionX
float entityPositionZ
public EntityAIDoorInteract(EntityLiving entityIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase
public void updateTask()
updateTask
in class EntityAIBase