Class PathfinderRestrictSun

java.lang.Object
me.gamercoder215.mobchip.ai.goal.Pathfinder
me.gamercoder215.mobchip.ai.goal.PathfinderRestrictSun
All Implemented Interfaces:
PathfinderInfo

public final class PathfinderRestrictSun extends Pathfinder
Represents a Pathfinder for a Creature to avoid the Sun.

This Pathfinder is a more basic version of PathfinderFleeSun. There is no speed modifier included, and it will only avoid the sun. The other pathfinder will include if the Creature is on fire and if they do not have a helmet, and will also pathfind the entity to the nearest extinguish source.

  • Constructor Details

    • PathfinderRestrictSun

      public PathfinderRestrictSun(@NotNull @NotNull Creature c)
      Constructs a PathfinderRestrictSun.
      Parameters:
      c - Creature to use
  • Method Details