Package com.rvandoosselaer.blocks
Interface BlockIds
public interface BlockIds
Contains all the keys of the default cube shape blocks that are registered in the
BlockRegistry
. Use these
keys to retrieve the blocks from the BlockRegistry.get(String)
. For non-default shapes, use
the getName(String type, String shape)
method to get the name (id) of the block.
The convention is that the name of the block is a concatenation of the type and shape with a dash or hyphen in
between. When the shape of the block is the default shape (ShapeIds.CUBE) the shape can be left out in the name.
Some examples:
- block (type: grass, shape: cube)
name: grass
- block (type: dirt, shape: cube_west)
name: dirt-cube_west
- block (type: mossy_cobblestone, shape: stairs_inverted_inner_corner_east)
name: mossy_cobblestone-stairs_inverted_inner_corner_east-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
-
Field Details
-
NONE
- See Also:
-
BIRCH_LOG
- See Also:
-
BIRCH_PLANKS
- See Also:
-
BIRCH_LEAVES
- See Also:
-
BRICKS
- See Also:
-
COBBLESTONE
- See Also:
-
MOSSY_COBBLESTONE
- See Also:
-
DIRT
- See Also:
-
GRAVEL
- See Also:
-
GRASS
- See Also:
-
GRASS_SNOW
- See Also:
-
PALM_TREE_LOG
- See Also:
-
PALM_TREE_PLANKS
- See Also:
-
PALM_TREE_LEAVES
- See Also:
-
ROCK
- See Also:
-
OAK_LOG
- See Also:
-
OAK_PLANKS
- See Also:
-
OAK_LEAVES
- See Also:
-
SAND
- See Also:
-
SNOW
- See Also:
-
SPRUCE_LOG
- See Also:
-
SPRUCE_PLANKS
- See Also:
-
SPRUCE_LEAVES
- See Also:
-
STONE_BRICKS
- See Also:
-
MOSSY_STONE_BRICKS
- See Also:
-
WATER
- See Also:
-
WATER_STILL
- See Also:
-
WINDOW
- See Also:
-
-
Method Details
-
getName
-