Package net.minecraft.registry
Class RegistryCloner.CloneableRegistries
java.lang.Object
net.minecraft.registry.RegistryCloner.CloneableRegistries
- Enclosing class:
RegistryCloner<T>
- Mappings:
Namespace Name official hy$a
intermediary net/minecraft/class_8990$class_8991
named net/minecraft/registry/RegistryCloner$CloneableRegistries
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<RegistryKey<? extends Registry<?>>,
RegistryCloner<?>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Codec<T> elementCodec) <T> @Nullable RegistryCloner<T>
get
(RegistryKey<? extends Registry<? extends T>> registryRef)
-
Field Details
-
registries
- Mappings:
Namespace Name Mixin selector official a
Lhy$a;a:Ljava/util/Map;
intermediary field_47487
Lnet/minecraft/class_8990$class_8991;field_47487:Ljava/util/Map;
named registries
Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;registries:Ljava/util/Map;
-
-
Constructor Details
-
CloneableRegistries
public CloneableRegistries()
-
-
Method Details
-
add
public <T> RegistryCloner.CloneableRegistries add(RegistryKey<? extends Registry<? extends T>> registryRef, com.mojang.serialization.Codec<T> elementCodec) - Mappings:
Namespace Name Mixin selector official a
Lhy$a;a(Lahf;Lcom/mojang/serialization/Codec;)Lhy$a;
intermediary method_55281
Lnet/minecraft/class_8990$class_8991;method_55281(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_8990$class_8991;
named add
Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;add(Lnet/minecraft/registry/RegistryKey;Lcom/mojang/serialization/Codec;)Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;
-
get
@Nullable public <T> @Nullable RegistryCloner<T> get(RegistryKey<? extends Registry<? extends T>> registryRef) - Mappings:
Namespace Name Mixin selector official a
Lhy$a;a(Lahf;)Lhy;
intermediary method_55280
Lnet/minecraft/class_8990$class_8991;method_55280(Lnet/minecraft/class_5321;)Lnet/minecraft/class_8990;
named get
Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;get(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryCloner;
-