public static enum HoverEvent.Action extends Enum<HoverEvent.Action>
| Enum Constant and Description |
|---|
SHOW_ACHIEVEMENT
Deprecated.
|
SHOW_ENTITY |
SHOW_ITEM |
SHOW_TEXT |
| Modifier and Type | Method and Description |
|---|---|
static HoverEvent.Action |
valueOf(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
@Deprecated public static final HoverEvent.Action SHOW_ACHIEVEMENT
public static HoverEvent.Action[] values()
for (HoverEvent.Action c : HoverEvent.Action.values()) System.out.println(c);
public static HoverEvent.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2012–2020 SpigotMC. All rights reserved.