public static enum IWaypoint.Tag extends java.lang.Enum<IWaypoint.Tag>
Enum Constant and Description |
---|
BED
Tag indicating a bed position
|
DEATH
Tag indicating a position that the local player has died at
|
HOME
Tag indicating a position explictly marked as a home base
|
USER
Tag indicating that the waypoint was user-created
|
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
names
The names for the tag, anything that the tag can be referred to as.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getAllNames() |
static IWaypoint.Tag |
getByName(java.lang.String name)
Gets a tag by one of its names.
|
java.lang.String |
getName() |
static IWaypoint.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IWaypoint.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IWaypoint.Tag HOME
public static final IWaypoint.Tag DEATH
public static final IWaypoint.Tag BED
public static final IWaypoint.Tag USER
public final java.lang.String[] names
public static IWaypoint.Tag[] values()
for (IWaypoint.Tag c : IWaypoint.Tag.values()) System.out.println(c);
public static IWaypoint.Tag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
getByName(String)
to retrieve this tagpublic static IWaypoint.Tag getByName(java.lang.String name)
name
- The name to search for.public static java.lang.String[] getAllNames()