net.minecraft.registry

public interface RegistryEntryLookup$RegistryLookup

net.minecraft.core.HolderGetter$Provider
net.minecraft.class_7871$class_7872
net.minecraft.registry.RegistryEntryLookup$RegistryLookup

Method summary

Modifier and TypeMethod
<T> Optional<? extends RegistryEntryLookup<T>>
lookup(ResourceKey<? extends Registry<? extends T>> key)
method_46759(class_5321<? extends class_2378<? extends T>> arg0)
getOptional(RegistryKey<? extends Registry<? extends T>> registryRef)
default <T> RegistryEntryLookup<T>
lookupOrThrow(ResourceKey<? extends Registry<? extends T>> key)
method_46751(class_5321<? extends class_2378<? extends T>> arg0)
getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef)
default <T> Optional<RegistryEntry$Reference<T>>
get(ResourceKey<T> id)
method_58561(class_5321<T> arg0)
getOptionalEntry(RegistryKey<T> registryRef)
default <T> RegistryEntry$Reference<T>
getOrThrow(ResourceKey<T> id)
method_66874(class_5321<T> arg0)
getEntryOrThrow(RegistryKey<T> key)
private static IllegalStateException
lambda$getOrThrow$3(ResourceKey arg0)
method_66875(class_5321 arg0)
method_66875(RegistryKey arg0)
private static Optional
lambda$getOrThrow$2(ResourceKey arg0, HolderGetter arg1)
method_66873(class_5321 arg0, class_7871 arg1)
method_66873(RegistryKey arg0, RegistryEntryLookup registry)
private static Optional
lambda$get$1(ResourceKey arg0, HolderGetter arg1)
method_58562(class_5321 arg0, class_7871 arg1)
method_58562(RegistryKey arg0, RegistryEntryLookup registryEntryLookup)
private static IllegalStateException
lambda$lookupOrThrow$0(ResourceKey arg0)
method_46752(class_5321 arg0)
method_46752(RegistryKey arg0)