Package net.minecraft.registry
Interface RegistryWrapper.WrapperLookup
- All Known Subinterfaces:
DynamicRegistryManager,DynamicRegistryManager.Immutable
- All Known Implementing Classes:
DynamicRegistryManager.ImmutableImpl
- Enclosing interface:
RegistryWrapper<T>
public static interface RegistryWrapper.WrapperLookup
- Mappings:
Namespace Name official ij$bintermediary net/minecraft/class_7225$class_7874named net/minecraft/registry/RegistryWrapper$WrapperLookup
-
Method Summary
Modifier and TypeMethodDescription<T> Optional<RegistryWrapper.Impl<T>>getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> RegistryWrapper.Impl<T>getWrapperOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) of(Stream<RegistryWrapper.Impl<?>> wrappers) Stream<RegistryKey<? extends Registry<?>>>
-
Method Details
-
streamAllRegistryKeys
Stream<RegistryKey<? extends Registry<?>>> streamAllRegistryKeys()- Mappings:
Namespace Name Mixin selector official aLij$b;a()Ljava/util/stream/Stream;intermediary method_55282Lnet/minecraft/class_7225$class_7874;method_55282()Ljava/util/stream/Stream;named streamAllRegistryKeysLnet/minecraft/registry/RegistryWrapper$WrapperLookup;streamAllRegistryKeys()Ljava/util/stream/Stream;
-
getOptionalWrapper
<T> Optional<RegistryWrapper.Impl<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector official aLij$b;a(Lahf;)Ljava/util/Optional;intermediary method_46759Lnet/minecraft/class_7225$class_7874;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;named getOptionalWrapperLnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOptionalWrapper(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
-
getWrapperOrThrow
default <T> RegistryWrapper.Impl<T> getWrapperOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector official bLij$b;b(Lahf;)Lij$c;intermediary method_46762Lnet/minecraft/class_7225$class_7874;method_46762(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7225$class_7226;named getWrapperOrThrowLnet/minecraft/registry/RegistryWrapper$WrapperLookup;getWrapperOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryWrapper$Impl;
-
createRegistryLookup
- Mappings:
Namespace Name Mixin selector official bLij$b;b()Lii$a;intermediary method_46758Lnet/minecraft/class_7225$class_7874;method_46758()Lnet/minecraft/class_7871$class_7872;named createRegistryLookupLnet/minecraft/registry/RegistryWrapper$WrapperLookup;createRegistryLookup()Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;
-
of
- Mappings:
Namespace Name Mixin selector official aLij$b;a(Ljava/util/stream/Stream;)Lij$b;intermediary method_46761Lnet/minecraft/class_7225$class_7874;method_46761(Ljava/util/stream/Stream;)Lnet/minecraft/class_7225$class_7874;named ofLnet/minecraft/registry/RegistryWrapper$WrapperLookup;of(Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
-