Deprecated, for removal: This API element is subject to removal in a future version.
Use the RL-explicit variant instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main bus
Deprecated, for removal: This API element is subject to removal in a future version.
Use the RL-explicit variant instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main bus
Registers the given value with the given name to the registry.
The namespace is inferred based on the active mod container.
If you wish to specify a namespace, use register(ResourceLocation, Object) instead.
Parameters:
name - the name of the object to register as its key with the namespaced inferred from the active mod container
the RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main bus