Package net.minecraft.registry
Interface RegistryWrapper.WrapperLookup
- All Superinterfaces:
RegistryEntryLookup.RegistryLookup
- All Known Subinterfaces:
CommandRegistryAccess
,DynamicRegistryManager
,DynamicRegistryManager.Immutable
- All Known Implementing Classes:
DynamicRegistryManager.ImmutableImpl
- Enclosing interface:
RegistryWrapper<T>
- Mappings:
Namespace Name named net/minecraft/registry/RegistryWrapper$WrapperLookup
intermediary net/minecraft/class_7225$class_7874
official js$a
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.mojang.serialization.Lifecycle
default <V> RegistryOps
<V> getOps
(com.mojang.serialization.DynamicOps<V> delegate) <T> Optional
<? extends RegistryWrapper.Impl<T>> getOptional
(RegistryKey<? extends Registry<? extends T>> registryRef) default <T> RegistryWrapper.Impl
<T> getOrThrow
(RegistryKey<? extends Registry<? extends T>> registryRef) of
(Stream<RegistryWrapper.Impl<?>> wrappers) default Stream
<RegistryWrapper.Impl<?>> stream()
Stream
<RegistryKey<? extends Registry<?>>> Methods inherited from interface net.minecraft.registry.RegistryEntryLookup.RegistryLookup
getOptionalEntry
-
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 b
Ljs$a;b()Ljava/util/stream/Stream;
-
stream
- Mappings:
Namespace Name Mixin selector named stream
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;stream()Ljava/util/stream/Stream;
intermediary method_62678
Lnet/minecraft/class_7225$class_7874;method_62678()Ljava/util/stream/Stream;
official c
Ljs$a;c()Ljava/util/stream/Stream;
-
getOptional
<T> Optional<? extends RegistryWrapper.Impl<T>> getOptional(RegistryKey<? extends Registry<? extends T>> registryRef) - Specified by:
getOptional
in interfaceRegistryEntryLookup.RegistryLookup
- Mappings:
Namespace Name Mixin selector named getOptional
Lnet/minecraft/registry/RegistryEntryLookup$RegistryLookup;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_46759
Lnet/minecraft/class_7871$class_7872;method_46759(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official a
Ljr$a;a(Laly;)Ljava/util/Optional;
-
getOrThrow
default <T> RegistryWrapper.Impl<T> getOrThrow(RegistryKey<? extends Registry<? extends T>> registryRef) - Specified by:
getOrThrow
in interfaceRegistryEntryLookup.RegistryLookup
- Mappings:
Namespace Name Mixin selector named getOrThrow
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getOrThrow(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 d
Ljs$a;d(Laly;)Ljs$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
Ljs$a;a(Lcom/mojang/serialization/DynamicOps;)Lalx;
-
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
Ljs$a;a(Ljava/util/stream/Stream;)Ljs$a;
-
getLifecycle
default com.mojang.serialization.Lifecycle getLifecycle()- Mappings:
Namespace Name Mixin selector named getLifecycle
Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;getLifecycle()Lcom/mojang/serialization/Lifecycle;
intermediary method_62679
Lnet/minecraft/class_7225$class_7874;method_62679()Lcom/mojang/serialization/Lifecycle;
official d
Ljs$a;d()Lcom/mojang/serialization/Lifecycle;
-