public enum MushroomBlockTexture extends Enum<MushroomBlockTexture>
| 列挙型定数と説明 |
|---|
ALL_CAP
Cap texture on all faces.
|
ALL_PORES
Pores on all faces.
|
ALL_STEM
Stem texture on all faces.
|
CAP_EAST
Cap texture on the top and east faces, pores on remaining sides.
|
CAP_NORTH
Cap texture on the top and north faces, pores on remaining sides.
|
CAP_NORTH_EAST
Cap texture on the top, north and east faces, pores on remaining sides.
|
CAP_NORTH_WEST
Cap texture on the top, north and west faces, pores on remaining sides.
|
CAP_SOUTH
Cap texture on the top and south faces, pores on remaining sides.
|
CAP_SOUTH_EAST
Cap texture on the top, south and east faces, pores on remaining sides.
|
CAP_SOUTH_WEST
Cap texture on the top, south and west faces, pores on remaining sides.
|
CAP_TOP
Cap texture on the top face, pores on remaining sides.
|
CAP_WEST
Cap texture on the top and west faces, pores on remaining sides.
|
STEM_SIDES
Stem texture on the north, east, south and west faces, pores on top and
bottom.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static MushroomBlockTexture |
getByData(byte data)
非推奨です。
Magic value
|
static MushroomBlockTexture |
getCapByFace(BlockFace face)
Gets the MushroomBlockType with cap texture on the given block face.
|
BlockFace |
getCapFace()
Gets the face that has cap texture.
|
byte |
getData()
非推奨です。
Magic value
|
static MushroomBlockTexture |
valueOf(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(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合@Deprecated public byte getData()
public BlockFace getCapFace()
@Deprecated public static MushroomBlockTexture getByData(byte data)
data - Data value to fetchMushroomBlockTexture representing the given value, or
null if it doesn't existpublic static MushroomBlockTexture getCapByFace(BlockFace face)
face - the required block face with cap textureMushroomBlockTexture representing the given block
face, or null if it doesn't existBlockFaceCopyright © 2016. All rights reserved.