RegistryUtil

constructor(modId: String, registry: RegistryKey<Registry<TContent>>)(source)

Parameters

TContent

The type of the content to register

modId

The namespace of the content to register.

registry

The registry to register the content in