public interface IRegisterable
Block or Item implementing it to be registered via MalisisRegistry.register(IRegisterable).| Modifier and Type | Method and Description |
|---|---|
default net.minecraft.item.Item |
getItem(net.minecraft.block.Block block)
Gets the item to register the implementing
Block with. |
java.lang.String |
getName()
Gets the registry name to use.
|
default void |
register()
Registers this
IRegisterable into the MalisisRegistry. |
java.lang.String getName()
default net.minecraft.item.Item getItem(net.minecraft.block.Block block)
Block with.IllegalStateException if called on a implementor that is not a Block.block - the blockdefault void register()
IRegisterable into the MalisisRegistry.