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