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