public enum Stone extends Enum<Stone> implements Metadata
| Enum Constant and Description |
|---|
ANDESITE |
DIORITE |
GRANITE |
POLISHED_ANDESITE |
POLISHED_DIORITE |
POLISHED_GRANITE |
REGULAR |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Stone |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stone REGULAR
public static final Stone GRANITE
public static final Stone POLISHED_GRANITE
public static final Stone DIORITE
public static final Stone POLISHED_DIORITE
public static final Stone ANDESITE
public static final Stone POLISHED_ANDESITE
public static Stone[] values()
for (Stone c : Stone.values()) System.out.println(c);
public static Stone 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 © 2017–2018 NukkitX. All rights reserved.