public enum MushroomBlockTexture extends java.lang.Enum<MushroomBlockTexture>
枚举常量和说明 |
---|
ALL_CAP
6个面都是蘑菇盖材质
|
ALL_PORES
各个面都是气孔材质
|
ALL_STEM
6个面都是蘑菇茎材质
|
CAP_EAST
上面和东面是蘑菇盖材质
|
CAP_NORTH
上面和北面是蘑菇盖材质
|
CAP_NORTH_EAST
上面、北面和东面是蘑菇盖材质
|
CAP_NORTH_WEST
上面、西面和北面是蘑菇盖材质
|
CAP_SOUTH
上面和南面是蘑菇盖材质
|
CAP_SOUTH_EAST
上面、东面和南面是蘑菇盖材质
|
CAP_SOUTH_WEST
上面、南面和西面是蘑菇盖材质
|
CAP_TOP
上面是蘑菇盖材质
|
CAP_WEST
上面和西面是蘑菇盖材质
|
STEM_SIDES
4个侧面都是蘑菇茎材质,上面和下面是气孔材质
|
限定符和类型 | 方法和说明 |
---|---|
static MushroomBlockTexture |
getByData(byte data)
已过时。
不安全的参数
|
static MushroomBlockTexture |
getCapByFace(BlockFace face)
获取关于指定方块朝向的蘑菇盖的 MushroomBlockType.
|
BlockFace |
getCapFace()
获取这个材质所对的朝向.
|
byte |
getData()
已过时。
不安全的参数
|
static MushroomBlockTexture |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MushroomBlockTexture[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MushroomBlockTexture ALL_PORES
public static final MushroomBlockTexture CAP_NORTH_WEST
public static final MushroomBlockTexture CAP_NORTH
public static final MushroomBlockTexture CAP_NORTH_EAST
public static final MushroomBlockTexture CAP_WEST
public static final MushroomBlockTexture CAP_TOP
public static final MushroomBlockTexture CAP_EAST
public static final MushroomBlockTexture CAP_SOUTH_WEST
public static final MushroomBlockTexture CAP_SOUTH
public static final MushroomBlockTexture CAP_SOUTH_EAST
public static final MushroomBlockTexture STEM_SIDES
public static final MushroomBlockTexture ALL_CAP
public static final MushroomBlockTexture ALL_STEM
public static MushroomBlockTexture[] values()
for (MushroomBlockTexture c : MushroomBlockTexture.values()) System.out.println(c);
public static MushroomBlockTexture valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值@Deprecated public byte getData()
原文:Gets the associated data value representing this mushroom block face.
public BlockFace getCapFace()
原文:Gets the face that has cap texture.
@Deprecated public static MushroomBlockTexture getByData(byte data)
原文:Gets the MushroomBlockType with the given data value.
data
- 数据值MushroomBlockTexture
,如果相关数据值不存在为nullpublic static MushroomBlockTexture getCapByFace(BlockFace face)
原文:Gets the MushroomBlockType with cap texture on the given block face.
face
- 方块朝向MushroomBlockTexture
,如果相关数据值不存在为nullBlockFace