PaletteType
for better generics@Deprecated @CatalogedBy(value=BlockPaletteTypes.class) public interface BlockPaletteType extends CatalogType, PaletteType<BlockState>
BlockPalette
.Modifier and Type | Method and Description |
---|---|
BlockPalette |
create()
Deprecated.
Gets an instance of this palette type.
|
getId, getName
BlockPalette create()
If this is the global type then the global palette instance will be returned, otherwise a new instance will be created.
create
in interface PaletteType<BlockState>