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