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 named net/minecraft/registry/DynamicRegistryManager$ImmutableImpl
intermediary net/minecraft/class_5455$class_6891
official jw$c
-
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, streamAllRegistryKeys, toImmutable
Methods inherited from interface net.minecraft.registry.RegistryWrapper.WrapperLookup
createRegistryLookup, getOps, getWrapperOrThrow
-
Field Details
-
registries
- Mappings:
Namespace Name Mixin selector named registries
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;registries:Ljava/util/Map;
intermediary field_36471
Lnet/minecraft/class_5455$class_6891;field_36471:Ljava/util/Map;
official c
Ljw$c;c:Ljava/util/Map;
-
-
Constructor Details
-
ImmutableImpl
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/List;)V
official <init>
Ljw$c;<init>(Ljava/util/List;)V
-
ImmutableImpl
public ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/Map;)V
official <init>
Ljw$c;<init>(Ljava/util/Map;)V
-
ImmutableImpl
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/stream/Stream;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/stream/Stream;)V
official <init>
Ljw$c;<init>(Ljava/util/stream/Stream;)V
-
-
Method Details
-
getOptional
- Specified by:
getOptional
in interfaceDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector named getOptional
Lnet/minecraft/registry/DynamicRegistryManager;getOptional(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
intermediary method_33310
Lnet/minecraft/class_5455;method_33310(Lnet/minecraft/class_5321;)Ljava/util/Optional;
official c
Ljw;c(Lale;)Ljava/util/Optional;
-
streamAllRegistries
- Specified by:
streamAllRegistries
in interfaceDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector named streamAllRegistries
Lnet/minecraft/registry/DynamicRegistryManager;streamAllRegistries()Ljava/util/stream/Stream;
intermediary method_40311
Lnet/minecraft/class_5455;method_40311()Ljava/util/stream/Stream;
official c
Ljw;c()Ljava/util/stream/Stream;
-