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 jb
  • 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 Ljb;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> Ljb;<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 Ljb;a(Ljava/lang/Object;Ljl$a;Ljl$a;)Ljava/lang/Object;