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 <V : Any> createSerializationContext(p0: DynamicOps<V>): RegistryOps<V>
Link copied to clipboard
open fun freeze(): RegistryAccess.Frozen
Link copied to clipboard
open operator fun <T : Any> get(p0: ResourceKey<T>): Optional<Holder.Reference<T>>
Link copied to clipboard
fun <T : Any> RegistryAccess.getOrThrow(key: ResourceKey<T>): Holder.Reference<T>
Link copied to clipboard
fun <T : Any> RegistryAccess.getValue(key: ResourceKey<T>): T?
Link copied to clipboard
fun <T : Any> RegistryAccess.getValueOrThrow(key: ResourceKey<T>): T
Link copied to clipboard
open fun listRegistries(): Stream<HolderLookup.RegistryLookup<*>>
Link copied to clipboard
open override fun listRegistryKeys(): Stream<ResourceKey<out Registry<*>>>
Link copied to clipboard
open override fun <E : Any> lookup(registry: ResourceKey<out Registry<out E>>): Optional<Registry<E>>
Link copied to clipboard
open override fun <E : Any> lookupOrThrow(p0: ResourceKey<out Registry<out E>>): Registry<E>
Link copied to clipboard
open override fun registries(): Stream<RegistryAccess.RegistryEntry<*>>