public class BundledBlockRegistry extends java.lang.Object implements BlockRegistry
BundledBlockData
to serve information
about blocks.Constructor and Description |
---|
BundledBlockRegistry() |
Modifier and Type | Method and Description |
---|---|
BlockMaterial |
getMaterial(BlockType blockType)
Get the material 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 public BlockMaterial getMaterial(BlockType blockType)
BlockRegistry
getMaterial
in interface BlockRegistry
blockType
- the block@Nullable public java.util.Map<java.lang.String,? extends Property> getProperties(BlockType blockType)
BlockRegistry
getProperties
in interface BlockRegistry
blockType
- the block