Package net.minecraft.registry
Class DynamicRegistryManager.ImmutableImpl
java.lang.Object
net.minecraft.registry.DynamicRegistryManager.ImmutableImpl
- All Implemented Interfaces:
DynamicRegistryManager
,RegistryWrapper.WrapperLookup
- Enclosing interface:
DynamicRegistryManager
public static class DynamicRegistryManager.ImmutableImpl
extends Object
implements DynamicRegistryManager
- Mappings:
Namespace Name official hs$c
intermediary net/minecraft/class_5455$class_6891
named net/minecraft/registry/DynamicRegistryManager$ImmutableImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.registry.DynamicRegistryManager
DynamicRegistryManager.Entry<T>, DynamicRegistryManager.Immutable, DynamicRegistryManager.ImmutableImpl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<? extends RegistryKey<? extends Registry<?>>,
? extends Registry<?>> Fields inherited from interface net.minecraft.registry.DynamicRegistryManager
EMPTY, LOGGER
-
Constructor Summary
ConstructorDescriptionImmutableImpl
(List<? extends Registry<?>> registries) ImmutableImpl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) ImmutableImpl
(Stream<DynamicRegistryManager.Entry<?>> entryStream) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.registry.DynamicRegistryManager
get, getOptionalWrapper, getRegistryLifecycle, toImmutable
Methods inherited from interface net.minecraft.registry.RegistryWrapper.WrapperLookup
createRegistryLookup, getWrapperOrThrow
-
Field Details
-
registries
- Mappings:
Namespace Name Mixin selector official c
Lhs$c;c:Ljava/util/Map;
intermediary field_36471
Lnet/minecraft/class_5455$class_6891;field_36471:Ljava/util/Map;
named registries
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;registries:Ljava/util/Map;
-
-
Constructor Details
-
ImmutableImpl
- Mappings:
Namespace Name Mixin selector official <init>
Lhs$c;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/List;)V
-
ImmutableImpl
public ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) - Mappings:
Namespace Name Mixin selector official <init>
Lhs$c;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/Map;)V
named <init>
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/Map;)V
-
ImmutableImpl
- Mappings:
Namespace Name Mixin selector official <init>
Lhs$c;<init>(Ljava/util/stream/Stream;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/stream/Stream;)V
named <init>
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/stream/Stream;)V
-
-
Method Details
-
getOptional
- Specified by:
getOptional
in interfaceDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector official c
Lhs;c(Lacp;)Ljava/util/Optional;
intermediary method_33310
Lnet/minecraft/class_5455;method_33310(Lnet/minecraft/class_5321;)Ljava/util/Optional;
named getOptional
Lnet/minecraft/registry/DynamicRegistryManager;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
-
streamAllRegistries
- Specified by:
streamAllRegistries
in interfaceDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector official b
Lhs;b()Ljava/util/stream/Stream;
intermediary method_40311
Lnet/minecraft/class_5455;method_40311()Ljava/util/stream/Stream;
named streamAllRegistries
Lnet/minecraft/registry/DynamicRegistryManager;streamAllRegistries()Ljava/util/stream/Stream;
-