public enum ChatHoverEventType extends java.lang.Enum<ChatHoverEventType>
| Enum Constant and Description |
|---|
show_achievement
|
show_entity
|
show_item
|
show_text
|
| Modifier and Type | Method and Description |
|---|---|
static ChatHoverEventType
|
forId(char id)
|
char |
getId()
|
net.md_5.bungee.api.chat.HoverEvent.Action |
toSpigotHoverAction()
|
static ChatHoverEventType
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatHoverEventType[]
|
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatHoverEventType show_text
public static final ChatHoverEventType show_item
public static final ChatHoverEventType show_achievement
public static final ChatHoverEventType show_entity
public static ChatHoverEventType[] values()
for (ChatHoverEventType c : ChatHoverEventType.values()) System.out.println(c);
public static ChatHoverEventType 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 name
java.lang.NullPointerException - if the argument is nullpublic static ChatHoverEventType forId(char id)
public char getId()
public net.md_5.bungee.api.chat.HoverEvent.Action toSpigotHoverAction()