toRegistry

infix fun toRegistry(registry: Registry<T>): T

Registers a RegistryObject.

Author

Oliver-makes-code (Emma)

Parameters

registry

The registry to register to.