public final class LCWaypoint extends Object
| Constructor and Description |
|---|
LCWaypoint(String name,
org.bukkit.Location location,
int color,
boolean forced)
Create a waypoint that is automatically visible when sent.
|
LCWaypoint(String name,
org.bukkit.Location location,
int color,
boolean forced,
boolean visible)
Create a waypoint with any visibility.
|
public LCWaypoint(String name, org.bukkit.Location location, int color, boolean forced, boolean visible)
name - The name of the waypoint (this is important if you need to edit it later, save the name).location - The bukkit Location to display the waypoint at. Whole blocks only, partial blocks aren't accounted for.color - The HEX color to set as the color for the waypoint.forced - If the client should be able to remove the waypoint, or if it is forced for gameplay reasons.visible - Weather or not the waypoint should be visible. This will likely always be true.public LCWaypoint(String name, org.bukkit.Location location, int color, boolean forced)
name - The name of the waypoint (this is important if you need to edit it later, save the name).location - The bukkit Location to display the waypoint at. Whole blocks only, partial blocks aren't accounted for.color - The HEX color to set as the color for the waypoint.forced - If the client should be able to remove the waypoint, or if it is forced for gameplay reasons.Copyright © 2022. All rights reserved.