Class EntityAIHurtByTarget


public class EntityAIHurtByTarget extends EntityAITarget
  • Constructor Details

    • EntityAIHurtByTarget

      public EntityAIHurtByTarget(EntityCreature par1EntityCreature, boolean par2)
  • Method Details

    • shouldExecute

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

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