Class RegistryCloner<T>

java.lang.Object
net.minecraft.registry.RegistryCloner<T>

public class RegistryCloner<T> extends Object
Mappings:
Namespace Name
official hy
intermediary net/minecraft/class_8990
named net/minecraft/registry/RegistryCloner
  • Field Details

    • elementCodec

      private final com.mojang.serialization.Codec<T> elementCodec
      Mappings:
      Namespace Name Mixin selector
      official a Lhy;a:Lcom/mojang/serialization/Codec;
      intermediary field_47486 Lnet/minecraft/class_8990;field_47486:Lcom/mojang/serialization/Codec;
      named elementCodec Lnet/minecraft/registry/RegistryCloner;elementCodec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • RegistryCloner

      RegistryCloner(com.mojang.serialization.Codec<T> elementCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhy;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_8990;<init>(Lcom/mojang/serialization/Codec;)V
      named <init> Lnet/minecraft/registry/RegistryCloner;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • clone

      public T clone(T value, RegistryWrapper.WrapperLookup subsetRegistry, RegistryWrapper.WrapperLookup fullRegistry)
      Mappings:
      Namespace Name Mixin selector
      official a Lhy;a(Ljava/lang/Object;Lij$b;Lij$b;)Ljava/lang/Object;
      intermediary method_55277 Lnet/minecraft/class_8990;method_55277(Ljava/lang/Object;Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7225$class_7874;)Ljava/lang/Object;
      named clone Lnet/minecraft/registry/RegistryCloner;clone(Ljava/lang/Object;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Ljava/lang/Object;