Package net.citizensnpcs.trait.waypoint
Class Waypoint
java.lang.Object
net.citizensnpcs.trait.waypoint.Waypoint
Represents a 
Location with a number of WaypointTriggers that activate on reaching the location.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddTrigger(WaypointTrigger trigger) voiddescribeTriggers(CommandSender sender) doubleReturns the distance in blocks to another waypoint.booleaninthashCode()voidRuns waypoint triggers for the given NPC.toString() 
- 
Constructor Details
- 
Waypoint
public Waypoint()For persistence - avoid using otherwise. - 
Waypoint
 
 - 
 - 
Method Details
- 
addTrigger
 - 
describeTriggers
 - 
distance
Returns the distance in blocks to another waypoint. - 
equals
 - 
getLocation
 - 
getTriggers
 - 
hashCode
public int hashCode() - 
onReach
Runs waypoint triggers for the given NPC. - 
toString
 
 -