RegistryUtil

public RegistryUtil<TContent> RegistryUtil<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