Class EntityAIFleeSun

java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIFleeSun
Direct Known Subclasses:
FindShadeBehavior

public class EntityAIFleeSun extends EntityAIBase
  • Field Details

    • theCreature

      protected EntityCreature theCreature
    • shelterX

      protected double shelterX
    • shelterY

      protected double shelterY
    • shelterZ

      protected double shelterZ
    • shelterHorizontalSearchRange

      protected int shelterHorizontalSearchRange
    • shelterVerticalSearchRange

      protected int shelterVerticalSearchRange
    • movementSpeed

      protected double movementSpeed
    • theWorld

      protected World theWorld
  • Constructor Details

    • EntityAIFleeSun

      public EntityAIFleeSun(EntityCreature par1EntityCreature, double par2)
  • 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
    • findPossibleShelter

      protected Vec3 findPossibleShelter()