public enum BlockFace extends Enum<BlockFace>
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getModX()
Get the amount of X-coordinates to modify to get the represented block
|
int |
getModY()
Get the amount of Y-coordinates to modify to get the represented block
|
int |
getModZ()
Get the amount of Z-coordinates to modify to get the represented block
|
BlockFace |
getOppositeFace() |
static BlockFace |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static BlockFace[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final BlockFace NORTH
public static final BlockFace EAST
public static final BlockFace SOUTH
public static final BlockFace WEST
public static final BlockFace UP
public static final BlockFace DOWN
public static final BlockFace NORTH_EAST
public static final BlockFace NORTH_WEST
public static final BlockFace SOUTH_EAST
public static final BlockFace SOUTH_WEST
public static final BlockFace WEST_NORTH_WEST
public static final BlockFace NORTH_NORTH_WEST
public static final BlockFace NORTH_NORTH_EAST
public static final BlockFace EAST_NORTH_EAST
public static final BlockFace EAST_SOUTH_EAST
public static final BlockFace SOUTH_SOUTH_EAST
public static final BlockFace SOUTH_SOUTH_WEST
public static final BlockFace WEST_SOUTH_WEST
public static final BlockFace SELF
public static BlockFace[] values()
for(BlockFace c: BlockFace.values()) System.out.println(c);
public static BlockFace valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public int getModX()
public int getModY()
public int getModZ()
public BlockFace getOppositeFace()
Copyright © 2016. All rights reserved.