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