Class CombinedDynamicRegistries<T>

java.lang.Object
net.minecraft.registry.CombinedDynamicRegistries<T>

public class CombinedDynamicRegistries<T> extends Object
Mappings:
Namespace Name
official hk
intermediary net/minecraft/class_7780
named net/minecraft/registry/CombinedDynamicRegistries
  • Field Details

    • types

      private final List<T> types
      Mappings:
      Namespace Name Mixin selector
      official a Lhk;a:Ljava/util/List;
      intermediary field_40581 Lnet/minecraft/class_7780;field_40581:Ljava/util/List;
      named types Lnet/minecraft/registry/CombinedDynamicRegistries;types:Ljava/util/List;
    • registryManagers

      private final List<DynamicRegistryManager.Immutable> registryManagers
      Mappings:
      Namespace Name Mixin selector
      official b Lhk;b:Ljava/util/List;
      intermediary field_40582 Lnet/minecraft/class_7780;field_40582:Ljava/util/List;
      named registryManagers Lnet/minecraft/registry/CombinedDynamicRegistries;registryManagers:Ljava/util/List;
    • combinedRegistryManager

      private final DynamicRegistryManager.Immutable combinedRegistryManager
      Mappings:
      Namespace Name Mixin selector
      official c Lhk;c:Lhr$b;
      intermediary field_40583 Lnet/minecraft/class_7780;field_40583:Lnet/minecraft/class_5455$class_6890;
      named combinedRegistryManager Lnet/minecraft/registry/CombinedDynamicRegistries;combinedRegistryManager:Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
  • Constructor Details

    • CombinedDynamicRegistries

      public CombinedDynamicRegistries(List<T> types)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhk;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_7780;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/registry/CombinedDynamicRegistries;<init>(Ljava/util/List;)V
    • CombinedDynamicRegistries

      private CombinedDynamicRegistries(List<T> types, List<DynamicRegistryManager.Immutable> registryManagers)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhk;<init>(Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_7780;<init>(Ljava/util/List;Ljava/util/List;)V
      named <init> Lnet/minecraft/registry/CombinedDynamicRegistries;<init>(Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • getIndex

      private int getIndex(T type)
      Mappings:
      Namespace Name Mixin selector
      official d Lhk;d(Ljava/lang/Object;)I
      intermediary method_45937 Lnet/minecraft/class_7780;method_45937(Ljava/lang/Object;)I
      named getIndex Lnet/minecraft/registry/CombinedDynamicRegistries;getIndex(Ljava/lang/Object;)I
    • get

      public DynamicRegistryManager.Immutable get(T index)
      Mappings:
      Namespace Name Mixin selector
      official a Lhk;a(Ljava/lang/Object;)Lhr$b;
      intermediary method_45928 Lnet/minecraft/class_7780;method_45928(Ljava/lang/Object;)Lnet/minecraft/class_5455$class_6890;
      named get Lnet/minecraft/registry/CombinedDynamicRegistries;get(Ljava/lang/Object;)Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • getPrecedingRegistryManagers

      public DynamicRegistryManager.Immutable getPrecedingRegistryManagers(T type)
      Mappings:
      Namespace Name Mixin selector
      official b Lhk;b(Ljava/lang/Object;)Lhr$b;
      intermediary method_45935 Lnet/minecraft/class_7780;method_45935(Ljava/lang/Object;)Lnet/minecraft/class_5455$class_6890;
      named getPrecedingRegistryManagers Lnet/minecraft/registry/CombinedDynamicRegistries;getPrecedingRegistryManagers(Ljava/lang/Object;)Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • getSucceedingRegistryManagers

      public DynamicRegistryManager.Immutable getSucceedingRegistryManagers(T type)
      Mappings:
      Namespace Name Mixin selector
      official c Lhk;c(Ljava/lang/Object;)Lhr$b;
      intermediary method_45936 Lnet/minecraft/class_7780;method_45936(Ljava/lang/Object;)Lnet/minecraft/class_5455$class_6890;
      named getSucceedingRegistryManagers Lnet/minecraft/registry/CombinedDynamicRegistries;getSucceedingRegistryManagers(Ljava/lang/Object;)Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • subset

      private DynamicRegistryManager.Immutable subset(int startIndex, int endIndex)
      Mappings:
      Namespace Name Mixin selector
      official a Lhk;a(II)Lhr$b;
      intermediary method_45927 Lnet/minecraft/class_7780;method_45927(II)Lnet/minecraft/class_5455$class_6890;
      named subset Lnet/minecraft/registry/CombinedDynamicRegistries;subset(II)Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • with

      public CombinedDynamicRegistries<T> with(T type, DynamicRegistryManager.Immutable[] registryManagers)
      Mappings:
      Namespace Name Mixin selector
      official a Lhk;a(Ljava/lang/Object;[Lhr$b;)Lhk;
      intermediary method_45930 Lnet/minecraft/class_7780;method_45930(Ljava/lang/Object;[Lnet/minecraft/class_5455$class_6890;)Lnet/minecraft/class_7780;
      named with Lnet/minecraft/registry/CombinedDynamicRegistries;with(Ljava/lang/Object;[Lnet/minecraft/registry/DynamicRegistryManager$Immutable;)Lnet/minecraft/registry/CombinedDynamicRegistries;
    • with

      public CombinedDynamicRegistries<T> with(T type, List<DynamicRegistryManager.Immutable> registryManagers)
      Mappings:
      Namespace Name Mixin selector
      official a Lhk;a(Ljava/lang/Object;Ljava/util/List;)Lhk;
      intermediary method_45929 Lnet/minecraft/class_7780;method_45929(Ljava/lang/Object;Ljava/util/List;)Lnet/minecraft/class_7780;
      named with Lnet/minecraft/registry/CombinedDynamicRegistries;with(Ljava/lang/Object;Ljava/util/List;)Lnet/minecraft/registry/CombinedDynamicRegistries;
    • getCombinedRegistryManager

      public DynamicRegistryManager.Immutable getCombinedRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      official a Lhk;a()Lhr$b;
      intermediary method_45926 Lnet/minecraft/class_7780;method_45926()Lnet/minecraft/class_5455$class_6890;
      named getCombinedRegistryManager Lnet/minecraft/registry/CombinedDynamicRegistries;getCombinedRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • toRegistryMap

      private static Map<RegistryKey<? extends Registry<?>>,Registry<?>> toRegistryMap(Stream<? extends DynamicRegistryManager> registryManagers)
      Mappings:
      Namespace Name Mixin selector
      official a Lhk;a(Ljava/util/stream/Stream;)Ljava/util/Map;
      intermediary method_45934 Lnet/minecraft/class_7780;method_45934(Ljava/util/stream/Stream;)Ljava/util/Map;
      named toRegistryMap Lnet/minecraft/registry/CombinedDynamicRegistries;toRegistryMap(Ljava/util/stream/Stream;)Ljava/util/Map;