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 ji
  • 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 Lji;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> Lji;<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 Lji;a(Ljava/lang/Object;Ljs$a;Ljs$a;)Ljava/lang/Object;