Class PathfinderDolphinJump

java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderDolphinJump
All Implemented Interfaces:
PathfinderInfo, Repeated

public final class PathfinderDolphinJump extends Pathfinder implements Repeated
Represents a Pathfinder that makes Dolphins Jump
  • Constructor Details

  • Method Details

    • getInterval

      public int getInterval()
      Get the current interval of jump time
      Specified by:
      getInterval in interface Repeated
      Returns:
      current interval of jump time
    • setInterval

      public void setInterval(int interval) throws IllegalArgumentException
      Description copied from interface: Repeated
      Sets the repeating interval, in ticks
      Specified by:
      setInterval in interface Repeated
      Parameters:
      interval - Interval
      Throws:
      IllegalArgumentException - if interval is less than 0
    • getFlags

      @NotNull public @NotNull Pathfinder.PathfinderFlag[] getFlags()
      Description copied from class: Pathfinder

      Fetches an Array of Flags that this Pathfinder has.

      Specified by:
      getFlags in class Pathfinder
      Returns:
      Array of Pathfinder Flags
    • getInternalName

      public String getInternalName()
      Description copied from interface: PathfinderInfo
      Returns the pathfinder's internal name. This may match the actual NMS name of the pathfinder, but it may not.
      Specified by:
      getInternalName in interface PathfinderInfo
      Returns:
      Internal Name