Class GrazeBehavior

java.lang.Object
net.minecraft.src.EntityAIBase
api.entity.mob.behavior.GrazeBehavior

public class GrazeBehavior extends EntityAIBase
  • Constructor Details

  • Method Details

    • shouldExecute

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

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

      public void resetTask()
      Description copied from class: EntityAIBase
      Resets the task
      Overrides:
      resetTask in class EntityAIBase
    • continueExecuting

      public boolean continueExecuting()
      Description copied from class: EntityAIBase
      Returns whether an in-progress EntityAIBase should continue executing
      Overrides:
      continueExecuting in class EntityAIBase
    • updateTask

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