Class RegistryBuilder

java.lang.Object
net.minecraft.registry.RegistryBuilder

public class RegistryBuilder extends Object
Mappings:
Namespace Name
official ht
intermediary net/minecraft/class_7877
named net/minecraft/registry/RegistryBuilder
  • Field Details

    • registries

      private final List<RegistryBuilder.RegistryInfo<?>> registries
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a:Ljava/util/List;
      intermediary field_40941 Lnet/minecraft/class_7877;field_40941:Ljava/util/List;
      named registries Lnet/minecraft/registry/RegistryBuilder;registries:Ljava/util/List;
  • Constructor Details

    • RegistryBuilder

      public RegistryBuilder()
  • Method Details

    • toLookup

      static <T> RegistryEntryLookup<T> toLookup(RegistryWrapper.Impl<T> wrapper)
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lhg$c;)Lhf;
      intermediary method_46778 Lnet/minecraft/class_7877;method_46778(Lnet/minecraft/class_7225$class_7226;)Lnet/minecraft/class_7871;
      named toLookup Lnet/minecraft/registry/RegistryBuilder;toLookup(Lnet/minecraft/registry/RegistryWrapper$Impl;)Lnet/minecraft/registry/RegistryEntryLookup;
    • addRegistry

      public <T> RegistryBuilder addRegistry(RegistryKey<? extends Registry<T>> registryRef, com.mojang.serialization.Lifecycle lifecycle, RegistryBuilder.BootstrapFunction<T> bootstrapFunction)
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Laev;Lcom/mojang/serialization/Lifecycle;Lht$e;)Lht;
      intermediary method_46776 Lnet/minecraft/class_7877;method_46776(Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lnet/minecraft/class_7877$class_7882;)Lnet/minecraft/class_7877;
      named addRegistry Lnet/minecraft/registry/RegistryBuilder;addRegistry(Lnet/minecraft/registry/RegistryKey;Lcom/mojang/serialization/Lifecycle;Lnet/minecraft/registry/RegistryBuilder$BootstrapFunction;)Lnet/minecraft/registry/RegistryBuilder;
    • addRegistry

      public <T> RegistryBuilder addRegistry(RegistryKey<? extends Registry<T>> registryRef, RegistryBuilder.BootstrapFunction<T> bootstrapFunction)
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Laev;Lht$e;)Lht;
      intermediary method_46777 Lnet/minecraft/class_7877;method_46777(Lnet/minecraft/class_5321;Lnet/minecraft/class_7877$class_7882;)Lnet/minecraft/class_7877;
      named addRegistry Lnet/minecraft/registry/RegistryBuilder;addRegistry(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryBuilder$BootstrapFunction;)Lnet/minecraft/registry/RegistryBuilder;
    • createBootstrappedRegistries

      private RegistryBuilder.Registries createBootstrappedRegistries(DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      official b Lht;b(Lhr;)Lht$a;
      intermediary method_46784 Lnet/minecraft/class_7877;method_46784(Lnet/minecraft/class_5455;)Lnet/minecraft/class_7877$class_7878;
      named createBootstrappedRegistries Lnet/minecraft/registry/RegistryBuilder;createBootstrappedRegistries(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/registry/RegistryBuilder$Registries;
    • createWrapperLookup

      public RegistryWrapper.WrapperLookup createWrapperLookup(DynamicRegistryManager baseRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lhr;)Lhg$b;
      intermediary method_46780 Lnet/minecraft/class_7877;method_46780(Lnet/minecraft/class_5455;)Lnet/minecraft/class_7225$class_7874;
      named createWrapperLookup Lnet/minecraft/registry/RegistryBuilder;createWrapperLookup(Lnet/minecraft/registry/DynamicRegistryManager;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
    • createWrapperLookup

      public RegistryWrapper.WrapperLookup createWrapperLookup(DynamicRegistryManager baseRegistryManager, RegistryWrapper.WrapperLookup wrapperLookup)
      Mappings:
      Namespace Name Mixin selector
      official a Lht;a(Lhr;Lhg$b;)Lhg$b;
      intermediary method_46781 Lnet/minecraft/class_7877;method_46781(Lnet/minecraft/class_5455;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_7225$class_7874;
      named createWrapperLookup Lnet/minecraft/registry/RegistryBuilder;createWrapperLookup(Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;