public enum ChatClickEventType extends java.lang.Enum<ChatClickEventType>
Enum Constant and Description |
---|
change_page
|
open_file
|
open_url
|
run_command
|
suggest_command
|
twitch_user_info
|
Modifier and Type | Method and Description |
---|---|
static ChatClickEventType
|
forId(char id)
|
char |
getId()
|
net.md_5.bungee.api.chat.ClickEvent.Action |
toSpigotClickAction()
|
static ChatClickEventType
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatClickEventType[]
|
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatClickEventType open_url
public static final ChatClickEventType open_file
public static final ChatClickEventType twitch_user_info
public static final ChatClickEventType run_command
public static final ChatClickEventType change_page
public static final ChatClickEventType suggest_command
public static ChatClickEventType[] values()
for (ChatClickEventType c : ChatClickEventType.values()) System.out.println(c);
public static ChatClickEventType 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 ChatClickEventType forId(char id)
public char getId()
public net.md_5.bungee.api.chat.ClickEvent.Action toSpigotClickAction()