Class PathfinderFleeSun

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

public final class PathfinderFleeSun extends Pathfinder implements SpeedModifier
Represents a Pathfinder for a Creature to avoid the sun or to extinguish a fire.

This is an advanced version of PathfinderRestrictSun. The other pathfinder will only have the Creature avoid the sun, with not speed modifier included.

  • Constructor Details

    • PathfinderFleeSun

      public PathfinderFleeSun(@NotNull @NotNull Creature m)
      Creates a PathfinderFleeSun with a default speed modifier.
      Parameters:
      m - Creature to use
    • PathfinderFleeSun

      public PathfinderFleeSun(@NotNull @NotNull Creature m, double speedMod)
      Creates a PathfinderFleeSun.
      Parameters:
      m - Creature to use
      speedMod - Speed Modifier of fleeing
  • Method Details