RegistryUtil

protected RegistryUtil<TContent> RegistryUtil<TContent extends Any>(String modId, RegistryKey<Registry<TContent>> registry)(source)
protected RegistryUtil<TContent> RegistryUtil<TContent extends Any>(String modId, IForgeRegistry<TContent> registry)(source)

Creates a new RegistryUtil instance.

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