Modifier and Type | Field and Description |
---|---|
static NamespacedRegistry<BlockCategory> |
REGISTRY |
Constructor and Description |
---|
BlockCategory(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(BlockStateHolder blockStateHolder)
Checks whether the BlockStateHolder is contained within
this category.
|
protected java.util.Set<BlockType> |
load() |
public static final NamespacedRegistry<BlockCategory> REGISTRY
public boolean contains(BlockStateHolder blockStateHolder)
blockStateHolder
- The blockstateholder