Package net.minecraft.util.registry
Class DynamicRegistryManager.ImmutableImpl
java.lang.Object
net.minecraft.util.registry.DynamicRegistryManager.ImmutableImpl
- All Implemented Interfaces:
DynamicRegistryManager
,DynamicRegistryManager.Immutable
- Enclosing interface:
DynamicRegistryManager
public static final class DynamicRegistryManager.ImmutableImpl
extends Object
implements DynamicRegistryManager.Immutable
- Mappings:
Namespace Name official hc$b
intermediary net/minecraft/class_5455$class_6891
named net/minecraft/util/registry/DynamicRegistryManager$ImmutableImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.registry.DynamicRegistryManager
DynamicRegistryManager.Entry<T>, DynamicRegistryManager.Immutable, DynamicRegistryManager.ImmutableImpl, DynamicRegistryManager.Info<E>, DynamicRegistryManager.Mutable, DynamicRegistryManager.MutableImpl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<? extends RegistryKey<? extends Registry<?>>,
? extends Registry<?>> Fields inherited from interface net.minecraft.util.registry.DynamicRegistryManager
BUILTIN, CODEC, INFOS, LOGGER
-
Constructor Summary
ConstructorDescriptionImmutableImpl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) ImmutableImpl
(Stream<DynamicRegistryManager.Entry<?>> stream) -
Method Summary
Modifier and TypeMethodDescriptiongetOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.registry.DynamicRegistryManager
get, getManaged, getOptional, getRegistryLifecycle, streamAllRegistries, streamSyncedRegistries
Methods inherited from interface net.minecraft.util.registry.DynamicRegistryManager.Immutable
toImmutable
-
Field Details
-
registries
- Mappings:
Namespace Name Mixin selector official e
Lhc$b;e:Ljava/util/Map;
intermediary field_36471
Lnet/minecraft/class_5455$class_6891;field_36471:Ljava/util/Map;
named registries
Lnet/minecraft/util/registry/DynamicRegistryManager$ImmutableImpl;registries:Ljava/util/Map;
-
-
Constructor Details
-
ImmutableImpl
public ImmutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends Registry<?>> registries) - Mappings:
Namespace Name Mixin selector official <init>
Lhc$b;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/Map;)V
named <init>
Lnet/minecraft/util/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/Map;)V
-
ImmutableImpl
ImmutableImpl(Stream<DynamicRegistryManager.Entry<?>> stream) - Mappings:
Namespace Name Mixin selector official <init>
Lhc$b;<init>(Ljava/util/stream/Stream;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6891;<init>(Ljava/util/stream/Stream;)V
named <init>
Lnet/minecraft/util/registry/DynamicRegistryManager$ImmutableImpl;<init>(Ljava/util/stream/Stream;)V
-
-
Method Details
-
getOptionalManaged
public <E> Optional<Registry<E>> getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.- Specified by:
getOptionalManaged
in interfaceDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector official a
Lhc;a(Lys;)Ljava/util/Optional;
intermediary method_30527
Lnet/minecraft/class_5455;method_30527(Lnet/minecraft/class_5321;)Ljava/util/Optional;
named getOptionalManaged
Lnet/minecraft/util/registry/DynamicRegistryManager;getOptionalManaged(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Optional;
-
streamManagedRegistries
- Specified by:
streamManagedRegistries
in interfaceDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector official b
Lhc;b()Ljava/util/stream/Stream;
intermediary method_40308
Lnet/minecraft/class_5455;method_40308()Ljava/util/stream/Stream;
named streamManagedRegistries
Lnet/minecraft/util/registry/DynamicRegistryManager;streamManagedRegistries()Ljava/util/stream/Stream;
-