Class RegistryCloner.CloneableRegistries

java.lang.Object
net.minecraft.registry.RegistryCloner.CloneableRegistries
Enclosing class:
RegistryCloner<T>

public static class RegistryCloner.CloneableRegistries extends Object
Mappings:
Namespace Name
named net/minecraft/registry/RegistryCloner$CloneableRegistries
intermediary net/minecraft/class_8990$class_8991
official je$a
  • Field Details

    • registries

      private final Map<RegistryKey<? extends Registry<?>>,RegistryCloner<?>> registries
      Mappings:
      Namespace Name Mixin selector
      named registries Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;registries:Ljava/util/Map;
      intermediary field_47487 Lnet/minecraft/class_8990$class_8991;field_47487:Ljava/util/Map;
      official a Lje$a;a: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
      named add Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;add(Lnet/minecraft/registry/RegistryKey;Lcom/mojang/serialization/Codec;)Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;
      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;
      official a Lje$a;a(Lakq;Lcom/mojang/serialization/Codec;)Lje$a;
    • get

      @Nullable public <T> @Nullable RegistryCloner<T> get(RegistryKey<? extends Registry<? extends T>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/registry/RegistryCloner$CloneableRegistries;get(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/registry/RegistryCloner;
      intermediary method_55280 Lnet/minecraft/class_8990$class_8991;method_55280(Lnet/minecraft/class_5321;)Lnet/minecraft/class_8990;
      official a Lje$a;a(Lakq;)Lje;