Package net.minecraft.registry
Interface RegistryEntryLookup.RegistryLookup
- All Known Subinterfaces:
CommandRegistryAccess,DynamicRegistryManager,DynamicRegistryManager.Immutable,RegistryWrapper.WrapperLookup
- All Known Implementing Classes:
DynamicRegistryManager.ImmutableImpl
- Enclosing interface:
RegistryEntryLookup<T>
public static interface RegistryEntryLookup.RegistryLookup
- Mappings:
Namespace Name named net/minecraft/registry/RegistryEntryLookup$RegistryLookupintermediary net/minecraft/class_7871$class_7872official jp$a
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> Optional<RegistryEntry.Reference<T>> getOptionalEntry(RegistryKey<T> registryRef) <T> Optional<? extends RegistryEntryLookup<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryKey) default <T> RegistryEntryLookup<T> getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef)
-
Method Details
-
getOptionalWrapper
<T> Optional<? extends RegistryEntryLookup<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryKey) - Mappings:
Namespace Name Mixin selector named getOptionalWrapperLnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOptionalWrapper(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;intermediary method_46759Lnet/minecraft/class_7871$class_7872;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;official aLjp$a;a(Lald;)Ljava/util/Optional;
-
getOrThrow
default <T> RegistryEntryLookup<T> getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector named getOrThrowLnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryEntryLookup;intermediary method_46751Lnet/minecraft/class_7871$class_7872;method_46751(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7871;official bLjp$a;b(Lald;)Ljp;
-
getOptionalEntry
- Mappings:
Namespace Name Mixin selector named getOptionalEntryLnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOptionalEntry(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;intermediary method_58561Lnet/minecraft/class_7871$class_7872;method_58561(Lnet/minecraft/class_5321;)Ljava/util/Optional;official cLjp$a;c(Lald;)Ljava/util/Optional;
-