RegistryKeyUtil

public RegistryKeyUtil<TContent> RegistryKeyUtil<TContent extends Any>(String modId, RegistryKey<Registry<TContent>> registry)(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