Package net.minecraft.src
Class EntityAIDoorInteract
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIDoorInteract
- Direct Known Subclasses:
EntityAIBreakDoor,EntityAIOpenDoor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected BlockDoorprotected EntityLiving -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingbooleanReturns whether the EntityAIBase should begin execution.voidExecute a one shot task or start executing a continuous taskvoidUpdates the taskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, resetTask, setMutexBits
-
Field Details
-
theEntity
-
entityPosX
protected int entityPosX -
entityPosY
protected int entityPosY -
entityPosZ
protected int entityPosZ -
targetDoor
-
-
Constructor Details
-
EntityAIDoorInteract
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Returns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
continueExecuting
public boolean continueExecuting()Returns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin classEntityAIBase
-
startExecuting
public void startExecuting()Execute a one shot task or start executing a continuous task- Overrides:
startExecutingin classEntityAIBase
-
updateTask
public void updateTask()Updates the task- Overrides:
updateTaskin classEntityAIBase
-