public enum StoneType extends Enum<StoneType>
Enum Constant and Description |
---|
ANDESITE
Represents the andesite.
|
DIORITE
Represents the diorite.
|
GRANITE
Represents the granite.
|
NORMAL
Represents the normal stone.
|
POLISHED_ANDESITE
Represents the polished andesite.
|
POLISHED_DIORITE
Represents the polished diorite.
|
POLISHED_GRANITE
Represents the polished granite.
|
Modifier and Type | Method and Description |
---|---|
static StoneType |
getByData(byte data)
Deprecated.
Magic value
|
byte |
getData()
Deprecated.
Magic value
|
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 NORMAL
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 null@Deprecated public byte getData()
@Deprecated public static StoneType getByData(byte data)
data
- The data value to fetchStoneType
representing the given value, or null
if it doesn't existCopyright © 2021. All rights reserved.