Class RegistryCloner<T>

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

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

    • elementCodec

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

    • RegistryCloner

      RegistryCloner(com.mojang.serialization.Codec<T> elementCodec)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/registry/RegistryCloner;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_8990;<init>(Lcom/mojang/serialization/Codec;)V
      official <init> Lja;<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
      named clone Lnet/minecraft/registry/RegistryCloner;clone(Ljava/lang/Object;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)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;
      official a Lja;a(Ljava/lang/Object;Ljk$a;Ljk$a;)Ljava/lang/Object;