VanillaRegistryAccess

object VanillaRegistryAccess : RegistryAccess

Functions

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
fun <T : Any> getHolder(key: ResourceKey<T>): Holder.Reference<T>
Link copied to clipboard
open override fun listRegistries(): Stream<ResourceKey<out Registry<*>>>
Link copied to clipboard
open override fun <T : Any> lookup(key: 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(key: ResourceKey<out Registry<out E>>): Optional<Registry<E>>
Link copied to clipboard
open override fun <E : Any> registryOrThrow(key: ResourceKey<out Registry<out E>>): WritableRegistry<E>