Serializable
, Comparable<BookMeta.Generation>
public static enum BookMeta.Generation extends Enum<BookMeta.Generation>
Enum Constant | Description |
---|---|
COPY_OF_COPY |
Book that was copied from a copy of an original.
|
COPY_OF_ORIGINAL |
Book that was copied from an original.
|
ORIGINAL |
Book written into a book-and-quill.
|
TATTERED |
Unused; unobtainable by players.
|
Modifier and Type | Method | Description |
---|---|---|
static BookMeta.Generation |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BookMeta.Generation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookMeta.Generation ORIGINAL
public static final BookMeta.Generation COPY_OF_ORIGINAL
public static final BookMeta.Generation COPY_OF_COPY
public static final BookMeta.Generation TATTERED
public static BookMeta.Generation[] values()
for (BookMeta.Generation c : BookMeta.Generation.values()) System.out.println(c);
public static BookMeta.Generation 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 © 2019. All rights reserved.