Class TagGroupLoader<T>

java.lang.Object
net.minecraft.tag.TagGroupLoader<T>

public class TagGroupLoader<T> extends Object
Mappings:
Namespace Name
official agd
intermediary net/minecraft/class_3503
named net/minecraft/tag/TagGroupLoader
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lagd;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_15607 Lnet/minecraft/class_3503;field_15607:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/tag/TagGroupLoader;LOGGER:Lorg/apache/logging/log4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official b Lagd;b:Lcom/google/gson/Gson;
      intermediary field_15608 Lnet/minecraft/class_3503;field_15608:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/tag/TagGroupLoader;GSON:Lcom/google/gson/Gson;
    • JSON_EXTENSION

      private static final String JSON_EXTENSION
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lagd;c:Ljava/lang/String;
      intermediary field_29827 Lnet/minecraft/class_3503;field_29827:Ljava/lang/String;
      named JSON_EXTENSION Lnet/minecraft/tag/TagGroupLoader;JSON_EXTENSION:Ljava/lang/String;
    • JSON_EXTENSION_LENGTH

      private static final int JSON_EXTENSION_LENGTH
      Mappings:
      Namespace Name Mixin selector
      official d Lagd;d:I
      intermediary field_15603 Lnet/minecraft/class_3503;field_15603:I
      named JSON_EXTENSION_LENGTH Lnet/minecraft/tag/TagGroupLoader;JSON_EXTENSION_LENGTH:I
    • registryGetter

      private final Function<Identifier,​Optional<T>> registryGetter
      Mappings:
      Namespace Name Mixin selector
      official e Lagd;e:Ljava/util/function/Function;
      intermediary field_15609 Lnet/minecraft/class_3503;field_15609:Ljava/util/function/Function;
      named registryGetter Lnet/minecraft/tag/TagGroupLoader;registryGetter:Ljava/util/function/Function;
    • dataType

      private final String dataType
      Mappings:
      Namespace Name Mixin selector
      official f Lagd;f:Ljava/lang/String;
      intermediary field_15605 Lnet/minecraft/class_3503;field_15605:Ljava/lang/String;
      named dataType Lnet/minecraft/tag/TagGroupLoader;dataType:Ljava/lang/String;
  • Constructor Details

    • TagGroupLoader

      public TagGroupLoader(Function<Identifier,​Optional<T>> registryGetter, String dataType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lagd;<init>(Ljava/util/function/Function;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3503;<init>(Ljava/util/function/Function;Ljava/lang/String;)V
      named <init> Lnet/minecraft/tag/TagGroupLoader;<init>(Ljava/util/function/Function;Ljava/lang/String;)V
  • Method Details

    • loadTags

      public Map<Identifier,​Tag.Builder> loadTags(ResourceManager manager)
      Mappings:
      Namespace Name Mixin selector
      official a Lagd;a(Ladt;)Ljava/util/Map;
      intermediary method_33174 Lnet/minecraft/class_3503;method_33174(Lnet/minecraft/class_3300;)Ljava/util/Map;
      named loadTags Lnet/minecraft/tag/TagGroupLoader;loadTags(Lnet/minecraft/resource/ResourceManager;)Ljava/util/Map;
    • method_32839

      private static void method_32839(Map<Identifier,​Tag.Builder> map, Multimap<Identifier,​Identifier> multimap, Set<Identifier> set, Identifier identifier, BiConsumer<Identifier,​Tag.Builder> biConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lagd;a(Ljava/util/Map;Lcom/google/common/collect/Multimap;Ljava/util/Set;Lww;Ljava/util/function/BiConsumer;)V
      intermediary method_32839 Lnet/minecraft/class_3503;method_32839(Ljava/util/Map;Lcom/google/common/collect/Multimap;Ljava/util/Set;Lnet/minecraft/class_2960;Ljava/util/function/BiConsumer;)V
      named method_32839 Lnet/minecraft/tag/TagGroupLoader;method_32839(Ljava/util/Map;Lcom/google/common/collect/Multimap;Ljava/util/Set;Lnet/minecraft/util/Identifier;Ljava/util/function/BiConsumer;)V
    • method_32836

      private static boolean method_32836(Multimap<Identifier,​Identifier> multimap, Identifier identifier, Identifier identifier2)
      Mappings:
      Namespace Name Mixin selector
      official a Lagd;a(Lcom/google/common/collect/Multimap;Lww;Lww;)Z
      intermediary method_32836 Lnet/minecraft/class_3503;method_32836(Lcom/google/common/collect/Multimap;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)Z
      named method_32836 Lnet/minecraft/tag/TagGroupLoader;method_32836(Lcom/google/common/collect/Multimap;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)Z
    • method_32844

      private static void method_32844(Multimap<Identifier,​Identifier> multimap, Identifier identifier, Identifier identifier2)
      Mappings:
      Namespace Name Mixin selector
      official b Lagd;b(Lcom/google/common/collect/Multimap;Lww;Lww;)V
      intermediary method_32844 Lnet/minecraft/class_3503;method_32844(Lcom/google/common/collect/Multimap;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
      named method_32844 Lnet/minecraft/tag/TagGroupLoader;method_32844(Lcom/google/common/collect/Multimap;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
    • buildGroup

      public TagGroup<T> buildGroup(Map<Identifier,​Tag.Builder> tags)
      Mappings:
      Namespace Name Mixin selector
      official a Lagd;a(Ljava/util/Map;)Lagb;
      intermediary method_18242 Lnet/minecraft/class_3503;method_18242(Ljava/util/Map;)Lnet/minecraft/class_5414;
      named buildGroup Lnet/minecraft/tag/TagGroupLoader;buildGroup(Ljava/util/Map;)Lnet/minecraft/tag/TagGroup;
    • load

      public TagGroup<T> load(ResourceManager manager)
      Mappings:
      Namespace Name Mixin selector
      official b Lagd;b(Ladt;)Lagb;
      intermediary method_33176 Lnet/minecraft/class_3503;method_33176(Lnet/minecraft/class_3300;)Lnet/minecraft/class_5414;
      named load Lnet/minecraft/tag/TagGroupLoader;load(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/tag/TagGroup;