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 SummaryConstructors
- 
Method SummaryModifier 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- 
Waypointpublic Waypoint()For persistence - avoid using otherwise.
- 
Waypoint
 
- 
- 
Method Details- 
addTrigger
- 
describeTriggers
- 
distanceReturns the distance in blocks to another waypoint.
- 
equals
- 
getLocation
- 
getTriggers
- 
hashCodepublic int hashCode()
- 
onReachRuns waypoint triggers for the given NPC.
- 
toString
 
-