public interface BlockRegistry
Modifier and Type | Method and Description |
---|---|
BlockMaterial |
getMaterial(BlockType blockType)
Get the material for the given block.
|
java.lang.String |
getName(BlockType blockType)
Gets the name for the given block.
|
java.util.Map<java.lang.String,? extends Property<?>> |
getProperties(BlockType blockType)
Get an unmodifiable map of states for this block.
|
@Nullable java.lang.String getName(BlockType blockType)
blockType
- the block@Nullable BlockMaterial getMaterial(BlockType blockType)
blockType
- the block