Class DireWolfHowlBehavior

java.lang.Object
net.minecraft.src.EntityAIBase
btw.entity.mob.behavior.DireWolfHowlBehavior

public class DireWolfHowlBehavior extends EntityAIBase
  • Field Details

    • associatedWolf

      protected DireWolfEntity associatedWolf
    • world

      protected World world
    • howlCounter

      protected int howlCounter
    • CHANCE_OF_HOWLING

      protected static final int CHANCE_OF_HOWLING
      See Also:
    • HOWL_DURATION

      protected static final int HOWL_DURATION
      See Also:
  • Constructor Details

    • DireWolfHowlBehavior

      public DireWolfHowlBehavior(DireWolfEntity wolf)
  • Method Details

    • shouldExecute

      public boolean shouldExecute()
      Description copied from class: EntityAIBase
      Returns whether the EntityAIBase should begin execution.
      Specified by:
      shouldExecute 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
    • 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
    • updateTask

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