Class CombinedDynamicRegistries<T>

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

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

    • types

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

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

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

    • CombinedDynamicRegistries

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

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

    • getIndex

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

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

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

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

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

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

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

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

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