NovaRegistryAccess

object NovaRegistryAccess : RegistryAccess

Functions

Link copied to clipboard
fun <E : Any> addFuzzyRegistry(addon: Addon, registryName: String): FuzzyMappedRegistry<E>
Link copied to clipboard
fun <E : Any> addRegistry(addon: Addon, registryName: String): WritableRegistry<E>
fun <E : Any, R : Registry<E>> addRegistry(addon: Addon, registryName: String, registryConstructor: (ResourceKey<out R>, Lifecycle) -> R): R
Link copied to clipboard
open fun allRegistriesLifecycle(): Lifecycle
Link copied to clipboard
open fun asGetterLookup(): HolderGetter.Provider
Link copied to clipboard
open fun <V : Any> createSerializationContext(delegate: DynamicOps<V>): RegistryOps<V>
Link copied to clipboard
open fun freeze(): RegistryAccess.Frozen
Link copied to clipboard
open override fun listRegistries(): Stream<ResourceKey<out Registry<*>>>
Link copied to clipboard
open override fun <T : Any> lookup(registryRef: ResourceKey<out Registry<out T>>): Optional<HolderLookup.RegistryLookup<T>>
Link copied to clipboard
open fun <T : Any> lookupOrThrow(registryRef: ResourceKey<out Registry<out T>>): HolderLookup.RegistryLookup<T>
Link copied to clipboard
open override fun registries(): Stream<RegistryAccess.RegistryEntry<*>>
Link copied to clipboard
open override fun <E : Any> registry(registry: ResourceKey<out Registry<out E>>): Optional<Registry<E>>
Link copied to clipboard
open fun <E : Any> registryOrThrow(key: ResourceKey<out Registry<out E>>): Registry<E>