Class RegistryLoader

java.lang.Object
net.minecraft.registry.RegistryLoader

public class RegistryLoader extends Object
Mappings:
Namespace Name
official acl
intermediary net/minecraft/class_7655
named net/minecraft/registry/RegistryLoader
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Lacl;c:Lorg/slf4j/Logger;
      intermediary field_39970 Lnet/minecraft/class_7655;field_39970:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/registry/RegistryLoader;LOGGER:Lorg/slf4j/Logger;
    • DYNAMIC_REGISTRIES

      public static final List<RegistryLoader.Entry<?>> DYNAMIC_REGISTRIES
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a:Ljava/util/List;
      intermediary field_39968 Lnet/minecraft/class_7655;field_39968:Ljava/util/List;
      named DYNAMIC_REGISTRIES Lnet/minecraft/registry/RegistryLoader;DYNAMIC_REGISTRIES:Ljava/util/List;
    • DIMENSION_REGISTRIES

      public static final List<RegistryLoader.Entry<?>> DIMENSION_REGISTRIES
      Mappings:
      Namespace Name Mixin selector
      official b Lacl;b:Ljava/util/List;
      intermediary field_39969 Lnet/minecraft/class_7655;field_39969:Ljava/util/List;
      named DIMENSION_REGISTRIES Lnet/minecraft/registry/RegistryLoader;DIMENSION_REGISTRIES:Ljava/util/List;
  • Constructor Details

    • RegistryLoader

      public RegistryLoader()
  • Method Details

    • load

      public static DynamicRegistryManager.Immutable load(ResourceManager resourceManager, DynamicRegistryManager baseRegistryManager, List<RegistryLoader.Entry<?>> entries)
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a(Lakv;Lhs;Ljava/util/List;)Lhs$b;
      intermediary method_45121 Lnet/minecraft/class_7655;method_45121(Lnet/minecraft/class_3300;Lnet/minecraft/class_5455;Ljava/util/List;)Lnet/minecraft/class_5455$class_6890;
      named load Lnet/minecraft/registry/RegistryLoader;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/List;)Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • createInfoGetter

      private static RegistryOps.RegistryInfoGetter createInfoGetter(DynamicRegistryManager baseRegistryManager, List<com.mojang.datafixers.util.Pair<MutableRegistry<?>,RegistryLoader.RegistryLoadable>> additionalRegistries)
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a(Lhs;Ljava/util/List;)Laco$b;
      intermediary method_46619 Lnet/minecraft/class_7655;method_46619(Lnet/minecraft/class_5455;Ljava/util/List;)Lnet/minecraft/class_6903$class_7863;
      named createInfoGetter Lnet/minecraft/registry/RegistryLoader;createInfoGetter(Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/List;)Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;
    • createInfo

      private static <T> RegistryOps.RegistryInfo<T> createInfo(MutableRegistry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a(Lia;)Laco$a;
      intermediary method_46620 Lnet/minecraft/class_7655;method_46620(Lnet/minecraft/class_2385;)Lnet/minecraft/class_6903$class_7862;
      named createInfo Lnet/minecraft/registry/RegistryLoader;createInfo(Lnet/minecraft/registry/MutableRegistry;)Lnet/minecraft/registry/RegistryOps$RegistryInfo;
    • createInfo

      private static <T> RegistryOps.RegistryInfo<T> createInfo(Registry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a(Lhr;)Laco$a;
      intermediary method_46618 Lnet/minecraft/class_7655;method_46618(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6903$class_7862;
      named createInfo Lnet/minecraft/registry/RegistryLoader;createInfo(Lnet/minecraft/registry/Registry;)Lnet/minecraft/registry/RegistryOps$RegistryInfo;
    • writeLoadingError

      private static void writeLoadingError(Map<RegistryKey<?>,Exception> exceptions)
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a(Ljava/util/Map;)V
      intermediary method_45126 Lnet/minecraft/class_7655;method_45126(Ljava/util/Map;)V
      named writeLoadingError Lnet/minecraft/registry/RegistryLoader;writeLoadingError(Ljava/util/Map;)V
    • getPath

      private static String getPath(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a(Lacq;)Ljava/lang/String;
      intermediary method_45119 Lnet/minecraft/class_7655;method_45119(Lnet/minecraft/class_2960;)Ljava/lang/String;
      named getPath Lnet/minecraft/registry/RegistryLoader;getPath(Lnet/minecraft/util/Identifier;)Ljava/lang/String;
    • load

      static <E> void load(RegistryOps.RegistryInfoGetter registryInfoGetter, ResourceManager resourceManager, RegistryKey<? extends Registry<E>> registryRef, MutableRegistry<E> newRegistry, com.mojang.serialization.Decoder<E> decoder, Map<RegistryKey<?>,Exception> exceptions)
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a(Laco$b;Lakv;Lacp;Lia;Lcom/mojang/serialization/Decoder;Ljava/util/Map;)V
      intermediary method_45122 Lnet/minecraft/class_7655;method_45122(Lnet/minecraft/class_6903$class_7863;Lnet/minecraft/class_3300;Lnet/minecraft/class_5321;Lnet/minecraft/class_2385;Lcom/mojang/serialization/Decoder;Ljava/util/Map;)V
      named load Lnet/minecraft/registry/RegistryLoader;load(Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/MutableRegistry;Lcom/mojang/serialization/Decoder;Ljava/util/Map;)V