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 RegistryView$WrapperLookup
lookupProvider
field_51501
registries
private final Map<RegistryKey<? extends Registry<?>>, Optional<? extends RegistryEntryLookup<?>>>
lookups
field_51502
cache

Constructor summary

ModifierConstructor
public (RegistryView$WrapperLookup registries)

Method summary

Modifier and TypeMethod
public <E> Optional<RegistryEntryLookup<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)