Class WanderWaypointProvider

java.lang.Object
net.citizensnpcs.trait.waypoint.WanderWaypointProvider
All Implemented Interfaces:
com.google.common.base.Function<NPC,Location>, com.google.common.base.Supplier<ch.ethz.globis.phtree.PhTreeSolid<Boolean>>, Function<NPC,Location>, Supplier<ch.ethz.globis.phtree.PhTreeSolid<Boolean>>, Persistable, WaypointProvider

public class WanderWaypointProvider extends Object implements WaypointProvider, com.google.common.base.Supplier<ch.ethz.globis.phtree.PhTreeSolid<Boolean>>, com.google.common.base.Function<NPC,Location>
A wandering waypoint provider that wanders between either a box centered at the current location or inside a region defined by a list of boxes.
  • Field Details

    • delay

      public int delay
    • xrange

      public int xrange
    • yrange

      public int yrange
  • Constructor Details

    • WanderWaypointProvider

      public WanderWaypointProvider()
  • Method Details