net.minecraft.registry

final class RegistryOps$CachedRegistryInfoGetter

implements RegistryOps$RegistryInfoGetter

net.minecraft.resources.RegistryOps$HolderLookupAdapter
net.minecraft.class_6903$class_9683
net.minecraft.registry.RegistryOps$CachedRegistryInfoGetter

Field summary

Modifier and TypeField
private final RegistryWrapper$WrapperLookup
lookupProvider
field_51501
registries
private final Map<RegistryKey<? extends Registry<?>>, Optional<? extends RegistryOps$RegistryInfo<?>>>
lookups
field_51502
cache

Constructor summary

ModifierConstructor
public (RegistryWrapper$WrapperLookup registries)

Method summary

Modifier and TypeMethod
public <E> Optional<RegistryOps$RegistryInfo<E>>
lookup(ResourceKey<? extends Registry<? extends E>> registryKey)
method_46623(class_5321<? extends class_2378<? extends E>> arg0)
getRegistryInfo(RegistryKey<? extends Registry<? extends E>> arg0)
private Optional<RegistryOps$RegistryInfo<Object>>
createLookup(ResourceKey<? extends Registry<?>> key)
method_59855(class_5321<? extends class_2378<?>> arg0)
compute(RegistryKey<? extends Registry<?>> registryRef)