Package net.minecraft.registry
Interface RegistryWrapper.WrapperLookup
- All Known Subinterfaces:
CommandRegistryAccess
,DynamicRegistryManager
,DynamicRegistryManager.Immutable
- All Known Implementing Classes:
DataPackContents.ConfigurableWrapperLookup
,DynamicRegistryManager.ImmutableImpl
,ReloadableRegistries.ReloadableWrapperLookup
- Enclosing interface:
RegistryWrapper<T>
public static interface RegistryWrapper.WrapperLookup
- Mappings:
Namespace Name named net/minecraft/registry/RegistryWrapper$WrapperLookup
intermediary net/minecraft/class_7225$class_7874
official jk$a
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V> RegistryOps
<V> getOps
(com.mojang.serialization.DynamicOps<V> delegate) <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 named streamAllRegistryKeys
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;streamAllRegistryKeys()Ljava/util/stream/Stream;
intermediary method_55282
Lnet/minecraft/class_7225$class_7874;method_55282()Ljava/util/stream/Stream;
official a
Ljk$a;a()Ljava/util/stream/Stream;
-
getOptionalWrapper
<T> Optional<RegistryWrapper.Impl<T>> getOptionalWrapper(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector named getOptionalWrapper
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOptionalWrapper(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_46759
Lnet/minecraft/class_7225$class_7874;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official a
Ljk$a;a(Lale;)Ljava/util/Optional;
-
getWrapperOrThrow
default <T> RegistryWrapper.Impl<T> getWrapperOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector named getWrapperOrThrow
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getWrapperOrThrow(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary method_46762
Lnet/minecraft/class_7225$class_7874;method_46762(Lnet/minecraft/class_5321;)Lnet/minecraft/class_7225$class_7226;
official b
Ljk$a;b(Lale;)Ljk$b;
-
getOps
- Mappings:
Namespace Name Mixin selector named getOps
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOps(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/registry/RegistryOps;
intermediary method_57093
Lnet/minecraft/class_7225$class_7874;method_57093(Lcom/mojang/serialization/DynamicOps;)Lnet/minecraft/class_6903;
official a
Ljk$a;a(Lcom/mojang/serialization/DynamicOps;)Lald;
-
createRegistryLookup
- Mappings:
Namespace Name Mixin selector named createRegistryLookup
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;createRegistryLookup()Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;
intermediary method_46758
Lnet/minecraft/class_7225$class_7874;method_46758()Lnet/minecraft/class_7871$class_7872;
official b
Ljk$a;b()Ljj$a;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;of(Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary method_46761
Lnet/minecraft/class_7225$class_7874;method_46761(Ljava/util/stream/Stream;)Lnet/minecraft/class_7225$class_7874;
official a
Ljk$a;a(Ljava/util/stream/Stream;)Ljk$a;
-