Class PathfinderMoveTowardsRestriction

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

public final class PathfinderMoveTowardsRestriction extends Pathfinder implements SpeedModifier
Represents a Pathfinder for a Creature to move towards its restriction center (if a mob has restriction)
See Also:
  • Constructor Details

    • PathfinderMoveTowardsRestriction

      public PathfinderMoveTowardsRestriction(@NotNull @NotNull Creature c)
      Constructs a PathfinderMoveTowardsRestriction with no speed modifier.
      Parameters:
      c - Creature to use
    • PathfinderMoveTowardsRestriction

      public PathfinderMoveTowardsRestriction(@NotNull @NotNull Creature c, double speedMod)
      Constructs a PathfinderMoveTowardsRestriction.
      Parameters:
      c - Creature to use
      speedMod - Speed Modifier while moving
  • Method Details