public enum HoverEventAction extends java.lang.Enum<HoverEventAction>
| Enum Constant and Description |
|---|
SHOW_ACHIEVEMENT |
SHOW_ENTITY |
SHOW_ITEM |
SHOW_TEXT |
| Modifier and Type | Method and Description |
|---|---|
static HoverEventAction |
getByName(java.lang.String name) |
java.lang.String |
getName() |
boolean |
isUserDefinable() |
static HoverEventAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HoverEventAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HoverEventAction SHOW_TEXT
public static final HoverEventAction SHOW_ACHIEVEMENT
public static final HoverEventAction SHOW_ITEM
public static final HoverEventAction SHOW_ENTITY
public static HoverEventAction[] values()
for (HoverEventAction c : HoverEventAction.values()) System.out.println(c);
public static HoverEventAction 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 static HoverEventAction getByName(java.lang.String name)
public java.lang.String getName()
public boolean isUserDefinable()