public static enum ClickEvent.Action extends Enum<ClickEvent.Action>
| Enum Constant and Description |
|---|
CHANGE_PAGE
Change to the page number given by
ClickEvent.value in a book |
OPEN_FILE
Open a file at the path given by
ClickEvent.value |
OPEN_URL
Open a url at the path given by
ClickEvent.value |
RUN_COMMAND
Run the command given by
ClickEvent.value |
SUGGEST_COMMAND
Inserts the string given by
ClickEvent.value into the players
text box |
| Modifier and Type | Method and Description |
|---|---|
static ClickEvent.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClickEvent.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClickEvent.Action OPEN_URL
ClickEvent.valuepublic static final ClickEvent.Action OPEN_FILE
ClickEvent.valuepublic static final ClickEvent.Action RUN_COMMAND
ClickEvent.valuepublic static final ClickEvent.Action SUGGEST_COMMAND
ClickEvent.value into the players
text boxpublic static final ClickEvent.Action CHANGE_PAGE
ClickEvent.value in a bookpublic static ClickEvent.Action[] values()
for (ClickEvent.Action c : ClickEvent.Action.values()) System.out.println(c);
public static ClickEvent.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 © 2015–2019 WaterfallMC. All rights reserved.