public static enum HintArrow.HintArrowType extends java.lang.Enum<HintArrow.HintArrowType>
Enum Constant and Description |
---|
NONE
No hint arrow present.
|
NPC
Hint arrow is pointing to an NPC.
|
PLAYER
Hint arrow is pointing to a player.
|
WORLD_POSITION
Hint arrow is pointing at a position in the world.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static HintArrow.HintArrowType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HintArrow.HintArrowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HintArrow.HintArrowType NONE
public static final HintArrow.HintArrowType NPC
public static final HintArrow.HintArrowType WORLD_POSITION
public static final HintArrow.HintArrowType PLAYER
public static HintArrow.HintArrowType[] values()
for (HintArrow.HintArrowType c : HintArrow.HintArrowType.values()) System.out.println(c);
public static HintArrow.HintArrowType 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 int getValue()