Class EntityAIDoorInteract

java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIDoorInteract
Direct Known Subclasses:
EntityAIBreakDoor, EntityAIOpenDoor

public abstract class EntityAIDoorInteract extends EntityAIBase
  • Field Details

    • theEntity

      protected EntityLiving theEntity
    • entityPosX

      protected int entityPosX
    • entityPosY

      protected int entityPosY
    • entityPosZ

      protected int entityPosZ
    • targetDoor

      protected BlockDoor targetDoor
  • Constructor Details

    • EntityAIDoorInteract

      public EntityAIDoorInteract(EntityLiving par1EntityLiving)
  • Method Details

    • shouldExecute

      public boolean shouldExecute()
      Returns whether the EntityAIBase should begin execution.
      Specified by:
      shouldExecute in class EntityAIBase
    • continueExecuting

      public boolean continueExecuting()
      Returns whether an in-progress EntityAIBase should continue executing
      Overrides:
      continueExecuting in class EntityAIBase
    • startExecuting

      public void startExecuting()
      Execute a one shot task or start executing a continuous task
      Overrides:
      startExecuting in class EntityAIBase
    • updateTask

      public void updateTask()
      Updates the task
      Overrides:
      updateTask in class EntityAIBase