ConfigurableRegistryElementBuilder

abstract class ConfigurableRegistryElementBuilder<T : Any>(registry: WritableRegistry<in T>, id: ResourceLocation) : RegistryElementBuilder<T>

Inheritors

Constructors

Link copied to clipboard
constructor(registry: WritableRegistry<in T>, id: ResourceLocation)

Properties

Link copied to clipboard
val id: ResourceLocation

Functions

Link copied to clipboard
fun config(name: String)

Configures the name of the config file in this addon's namespace.

Link copied to clipboard
fun rawConfig(id: String)
fun rawConfig(id: ResourceLocation)

Configures the id of this config file in the format namespace:name.