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$b
intermediary net/minecraft/class_7225$class_7874
named 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 a
Lij$b;a()Ljava/util/stream/Stream;
intermediary method_55282
Lnet/minecraft/class_7225$class_7874;method_55282()Ljava/util/stream/Stream;
named streamAllRegistryKeys
Lnet/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 a
Lij$b;a(Lahf;)Ljava/util/Optional;
intermediary method_46759
Lnet/minecraft/class_7225$class_7874;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;
named getOptionalWrapper
Lnet/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 b
Lij$b;b(Lahf;)Lij$c;
intermediary method_46762
Lnet/minecraft/class_7225$class_7874;method_46762(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7225$class_7226;
named getWrapperOrThrow
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getWrapperOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryWrapper$Impl;
-
createRegistryLookup
- Mappings:
Namespace Name Mixin selector official b
Lij$b;b()Lii$a;
intermediary method_46758
Lnet/minecraft/class_7225$class_7874;method_46758()Lnet/minecraft/class_7871$class_7872;
named createRegistryLookup
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;createRegistryLookup()Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;
-
of
- Mappings:
Namespace Name Mixin selector official a
Lij$b;a(Ljava/util/stream/Stream;)Lij$b;
intermediary method_46761
Lnet/minecraft/class_7225$class_7874;method_46761(Ljava/util/stream/Stream;)Lnet/minecraft/class_7225$class_7874;
named of
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;of(Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
-