Class RegistryLoader

java.lang.Object
net.minecraft.util.dynamic.RegistryLoader

public class RegistryLoader extends Object
Mappings:
Namespace Name
official yp
intermediary net/minecraft/class_6900
named net/minecraft/util/dynamic/RegistryLoader
  • Field Details

    • entryLoader

      private final EntryLoader entryLoader
      Mappings:
      Namespace Name Mixin selector
      official a Lyp;a:Lyr;
      intermediary field_36485 Lnet/minecraft/class_6900;field_36485:Lnet/minecraft/class_5506;
      named entryLoader Lnet/minecraft/util/dynamic/RegistryLoader;entryLoader:Lnet/minecraft/util/dynamic/EntryLoader;
    • valueHolders

      private final Map<RegistryKey<? extends Registry<?>>,RegistryLoader.ValueHolder<?>> valueHolders
      Mappings:
      Namespace Name Mixin selector
      official b Lyp;b:Ljava/util/Map;
      intermediary field_36486 Lnet/minecraft/class_6900;field_36486:Ljava/util/Map;
      named valueHolders Lnet/minecraft/util/dynamic/RegistryLoader;valueHolders:Ljava/util/Map;
  • Constructor Details

    • RegistryLoader

      RegistryLoader(EntryLoader entryLoader)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyp;<init>(Lyr;)V
      intermediary <init> Lnet/minecraft/class_6900;<init>(Lnet/minecraft/class_5506;)V
      named <init> Lnet/minecraft/util/dynamic/RegistryLoader;<init>(Lnet/minecraft/util/dynamic/EntryLoader;)V
  • Method Details

    • load

      public <E> com.mojang.serialization.DataResult<? extends Registry<E>> load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, com.mojang.serialization.DynamicOps<JsonElement> ops)
      Mappings:
      Namespace Name Mixin selector
      official a Lyp;a(Lhi;Lys;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;
      intermediary method_40404 Lnet/minecraft/class_6900;method_40404(Lnet/minecraft/class_2385;Lnet/minecraft/class_5321;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;
      named load Lnet/minecraft/util/dynamic/RegistryLoader;load(Lnet/minecraft/util/registry/MutableRegistry;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;
    • load

      <E> com.mojang.serialization.DataResult<RegistryEntry<E>> load(MutableRegistry<E> registry, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> codec, RegistryKey<E> entryKey, com.mojang.serialization.DynamicOps<JsonElement> ops)
      Mappings:
      Namespace Name Mixin selector
      official a Lyp;a(Lhi;Lys;Lcom/mojang/serialization/Codec;Lys;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;
      intermediary method_40405 Lnet/minecraft/class_6900;method_40405(Lnet/minecraft/class_2385;Lnet/minecraft/class_5321;Lcom/mojang/serialization/Codec;Lnet/minecraft/class_5321;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;
      named load Lnet/minecraft/util/dynamic/RegistryLoader;load(Lnet/minecraft/util/registry/MutableRegistry;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/Codec;Lnet/minecraft/util/registry/RegistryKey;Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;
    • getOrCreateValueHolder

      private <E> RegistryLoader.ValueHolder<E> getOrCreateValueHolder(RegistryKey<? extends Registry<E>> registryRef)
      Mappings:
      Namespace Name Mixin selector
      official a Lyp;a(Lys;)Lyp$b;
      intermediary method_40406 Lnet/minecraft/class_6900;method_40406(Lnet/minecraft/class_5321;)Lnet/minecraft/class_6900$class_6902;
      named getOrCreateValueHolder Lnet/minecraft/util/dynamic/RegistryLoader;getOrCreateValueHolder(Lnet/minecraft/util/registry/RegistryKey;)Lnet/minecraft/util/dynamic/RegistryLoader$ValueHolder;
    • createAccess

      public RegistryLoader.LoaderAccess createAccess(DynamicRegistryManager.Mutable dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lyp;a(Lhc$e;)Lyp$a;
      intermediary method_40402 Lnet/minecraft/class_6900;method_40402(Lnet/minecraft/class_5455$class_6893;)Lnet/minecraft/class_6900$class_6901;
      named createAccess Lnet/minecraft/util/dynamic/RegistryLoader;createAccess(Lnet/minecraft/util/registry/DynamicRegistryManager$Mutable;)Lnet/minecraft/util/dynamic/RegistryLoader$LoaderAccess;