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, setMutexBitsprotected EntityLiving entity
protected BlockPos doorPosition
protected BlockDoor doorBlock
boolean hasStoppedDoorInteraction
float entityPositionX
float entityPositionZ
public EntityAIDoorInteract(EntityLiving entityIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic boolean shouldContinueExecuting()
shouldContinueExecuting in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAIBasepublic void updateTask()
updateTask in class EntityAIBase