Constructor and Description |
---|
Waypoint()
For persistence - avoid using otherwise.
|
Waypoint(org.bukkit.Location at) |
Modifier and Type | Method and Description |
---|---|
void |
addTrigger(WaypointTrigger trigger) |
void |
describeTriggers(org.bukkit.command.CommandSender sender) |
double |
distance(Waypoint dest)
Returns the distance in blocks to another waypoint.
|
boolean |
equals(Object obj) |
org.bukkit.Location |
getLocation() |
List<WaypointTrigger> |
getTriggers() |
int |
hashCode() |
void |
onReach(NPC npc)
Runs waypoint triggers for the given NPC.
|
public Waypoint()
public Waypoint(org.bukkit.Location at)
public void addTrigger(WaypointTrigger trigger)
public void describeTriggers(org.bukkit.command.CommandSender sender)
public double distance(Waypoint dest)
public org.bukkit.Location getLocation()
getLocation
in interface Locatable
public List<WaypointTrigger> getTriggers()
public void onReach(NPC npc)
Copyright © 2021. All rights reserved.