Inherited properties
Link copied to clipboard
Link copied to clipboard
val registryKey: PropertyDelegateProvider<RegistryKeyUtil<StatType<*>>, Lazy<RegistryKey<StatType<*>>>>
Creates a RegistryKey from the registry and namespace specified in the constructor and a given path. The path is derived from the property name (converted to camel_case).
Link copied to clipboard
Inherited functions
Link copied to clipboard
fun RegistryKey<StatType<*>>.getEntry(registryManager: DynamicRegistryManager): RegistryEntry.Reference<StatType<*>>?
Gets the registry entry of the given registry key from the given registry manager or null, if it's not found.
Link copied to clipboard
Creates an Identifier from the namespace specified in the constructor and a given path.
Link copied to clipboard
protected inline fun <T : StatType<*>> registering(crossinline factory: (RegistryKey<StatType<*>>) -> T): PropertyDelegateProvider<Registrar<StatType<*>>, Lazy<T>>
Adds a content to be registered in a Minecraft registry using Architectury API. The path is derived from the property name (converted to camel_case).
protected inline fun <T : StatType<*>> registering(path: String, crossinline factory: (RegistryKey<StatType<*>>) -> T): Lazy<T>
Adds a content to be registered in a Minecraft registry using Architectury API.
Link copied to clipboard
Creates a RegistryKey from the registry and namespace specified in the constructor and a given path.