public enum SandstoneType extends java.lang.Enum<SandstoneType>
| 限定符和类型 | 方法和说明 |
|---|---|
static SandstoneType |
getByData(byte data)
已过时。
魔法值
|
byte |
getData()
已过时。
魔法值
|
static SandstoneType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SandstoneType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SandstoneType CRACKED
public static final SandstoneType GLYPHED
public static final SandstoneType SMOOTH
public static SandstoneType[] values()
for (SandstoneType c : SandstoneType.values()) System.out.println(c);
public static SandstoneType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值@Deprecated public byte getData()
原文: Gets the associated data value representing this type of sandstone
@Deprecated public static SandstoneType getByData(byte data)
原文: Gets the type of sandstone with the given data value
data - 数据值SandstoneType,如不存在就为null,