Package net.minecraft.registry
Interface RegistryEntryLookup.RegistryLookup
- Enclosing interface:
RegistryEntryLookup<T>
public static interface RegistryEntryLookup.RegistryLookup
- Mappings:
Namespace Name official hf$aintermediary net/minecraft/class_7871$class_7872named net/minecraft/registry/RegistryEntryLookup$RegistryLookup
-
Method Summary
Modifier and TypeMethodDescription<T> Optional<RegistryEntryLookup<T>>getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> RegistryEntryLookup<T>getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef)
-
Method Details
-
getOptional
<T> Optional<RegistryEntryLookup<T>> getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector official aLhf$a;a(Lacp;)Ljava/util/Optional;intermediary method_46750Lnet/minecraft/class_7871$class_7872;method_46750(Lnet/minecraft/class_5321;)Ljava/util/Optional;named getOptionalLnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
-
getOrThrow
default <T> RegistryEntryLookup<T> getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector official bLhf$a;b(Lacp;)Lhf;intermediary method_46751Lnet/minecraft/class_7871$class_7872;method_46751(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7871;named getOrThrowLnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryEntryLookup;
-