public enum ClickEventAction extends java.lang.Enum<ClickEventAction>
| Enum Constant and Description |
|---|
CHANGE_PAGE |
COPY_TO_CLIPBOARD
This action has been added in minecraft 1.16.
|
OPEN_FILE |
OPEN_URL |
RUN_COMMAND |
SUGGEST_COMMAND |
TWITCH_USER_INFO
This action has been removed in minecraft 1.9.
|
| Modifier and Type | Method and Description |
|---|---|
static ClickEventAction |
getByName(java.lang.String name) |
static ClickEventAction |
getByName(java.lang.String name,
boolean ignoreCase) |
java.lang.String |
getName() |
boolean |
isUserDefinable() |
static ClickEventAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClickEventAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClickEventAction OPEN_URL
public static final ClickEventAction OPEN_FILE
public static final ClickEventAction RUN_COMMAND
public static final ClickEventAction TWITCH_USER_INFO
public static final ClickEventAction SUGGEST_COMMAND
public static final ClickEventAction CHANGE_PAGE
public static final ClickEventAction COPY_TO_CLIPBOARD
public static ClickEventAction[] values()
for (ClickEventAction c : ClickEventAction.values()) System.out.println(c);
public static ClickEventAction 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 ClickEventAction getByName(java.lang.String name)
public static ClickEventAction getByName(java.lang.String name, boolean ignoreCase)
public java.lang.String getName()
public boolean isUserDefinable()