public static enum BookEditPacket.Action extends Enum<BookEditPacket.Action>
| Enum Constant and Description |
|---|
ADD_PAGE |
DELETE_PAGE |
REPLACE_PAGE |
SIGN_BOOK |
SWAP_PAGES |
| Modifier and Type | Method and Description |
|---|---|
static BookEditPacket.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BookEditPacket.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookEditPacket.Action REPLACE_PAGE
public static final BookEditPacket.Action ADD_PAGE
public static final BookEditPacket.Action DELETE_PAGE
public static final BookEditPacket.Action SWAP_PAGES
public static final BookEditPacket.Action SIGN_BOOK
public static BookEditPacket.Action[] values()
for (BookEditPacket.Action c : BookEditPacket.Action.values()) System.out.println(c);
public static BookEditPacket.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 © 2018–2022 NukkitX. All rights reserved.