Package net.minecraft.util.registry
Class DynamicRegistryManager.MutableImpl
java.lang.Object
net.minecraft.util.registry.DynamicRegistryManager.MutableImpl
- All Implemented Interfaces:
DynamicRegistryManager
,DynamicRegistryManager.Mutable
- Enclosing interface:
DynamicRegistryManager
public static final class DynamicRegistryManager.MutableImpl
extends Object
implements DynamicRegistryManager.Mutable
- Mappings:
Namespace Name official hn$f
intermediary net/minecraft/class_5455$class_6894
named net/minecraft/util/registry/DynamicRegistryManager$MutableImpl
-
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
FieldsModifier and TypeFieldDescriptionprivate final Map<? extends RegistryKey<? extends Registry<?>>,
? extends MutableRegistry<?>> Fields inherited from interface net.minecraft.util.registry.DynamicRegistryManager
BUILTIN, CODEC, INFOS, LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionMutableImpl
(Map<? extends RegistryKey<? extends Registry<?>>, ? extends MutableRegistry<?>> mutableRegistries) -
Method Summary
Modifier and TypeMethodDescriptiongetOptionalManaged
(RegistryKey<? extends Registry<? extends E>> key) Retrieves a registry optionally from this manager.<E> Optional<MutableRegistry<E>>
getOptionalMutable
(RegistryKey<? extends Registry<? extends E>> key) 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, toImmutable
Methods inherited from interface net.minecraft.util.registry.DynamicRegistryManager.Mutable
getMutable
-
Field Details
-
mutableRegistries
private final Map<? extends RegistryKey<? extends Registry<?>>,? extends MutableRegistry<?>> mutableRegistries- Mappings:
Namespace Name Mixin selector official e
Lhn$f;e:Ljava/util/Map;
intermediary field_36472
Lnet/minecraft/class_5455$class_6894;field_36472:Ljava/util/Map;
named mutableRegistries
Lnet/minecraft/util/registry/DynamicRegistryManager$MutableImpl;mutableRegistries:Ljava/util/Map;
-
-
Constructor Details
-
MutableImpl
MutableImpl(Map<? extends RegistryKey<? extends Registry<?>>, ? extends MutableRegistry<?>> mutableRegistries) - Mappings:
Namespace Name Mixin selector official <init>
Lhn$f;<init>(Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5455$class_6894;<init>(Ljava/util/Map;)V
named <init>
Lnet/minecraft/util/registry/DynamicRegistryManager$MutableImpl;<init>(Ljava/util/Map;)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
Lhn;a(Laba;)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;
-
getOptionalMutable
public <E> Optional<MutableRegistry<E>> getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key) - Specified by:
getOptionalMutable
in interfaceDynamicRegistryManager.Mutable
- Mappings:
Namespace Name Mixin selector official f
Lhn$e;f(Laba;)Ljava/util/Optional;
intermediary method_40333
Lnet/minecraft/class_5455$class_6893;method_40333(Lnet/minecraft/class_5321;)Ljava/util/Optional;
named getOptionalMutable
Lnet/minecraft/util/registry/DynamicRegistryManager$Mutable;getOptionalMutable(Lnet/minecraft/util/registry/RegistryKey;)Ljava/util/Optional;
-
streamManagedRegistries
- Specified by:
streamManagedRegistries
in interfaceDynamicRegistryManager
- Mappings:
Namespace Name Mixin selector official b
Lhn;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;
-