Class TagGroupLoader<T>

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

public class TagGroupLoader<T> extends Object
Mappings:
Namespace Name
official ala
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 Lala;a:Lorg/slf4j/Logger;
      intermediary field_15607 Lnet/minecraft/class_3503;field_15607:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/tag/TagGroupLoader;LOGGER:Lorg/slf4j/Logger;
    • JSON_EXTENSION

      private static final String JSON_EXTENSION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lala;b: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 c Lala;c:I
      intermediary field_15603 Lnet/minecraft/class_3503;field_15603:I
      named JSON_EXTENSION_LENGTH Lnet/minecraft/tag/TagGroupLoader;JSON_EXTENSION_LENGTH:I
    • registryGetter

      final Function<Identifier,Optional<T>> registryGetter
      Mappings:
      Namespace Name Mixin selector
      official d Lala;d: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 e Lala;e: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> Lala;<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

      Mappings:
      Namespace Name Mixin selector
      official a Lala;a(Laim;)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;
    • resolveAll

      private static void resolveAll(Map<Identifier,List<TagGroupLoader.TrackedEntry>> tags, Multimap<Identifier,Identifier> referencedTagIdsByTagId, Set<Identifier> alreadyResolved, Identifier tagId, BiConsumer<Identifier,List<TagGroupLoader.TrackedEntry>> resolver)
      Mappings:
      Namespace Name Mixin selector
      official a Lala;a(Ljava/util/Map;Lcom/google/common/collect/Multimap;Ljava/util/Set;Labb;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 resolveAll Lnet/minecraft/tag/TagGroupLoader;resolveAll(Ljava/util/Map;Lcom/google/common/collect/Multimap;Ljava/util/Set;Lnet/minecraft/util/Identifier;Ljava/util/function/BiConsumer;)V
    • hasCircularDependency

      private static boolean hasCircularDependency(Multimap<Identifier,Identifier> referencedTagIdsByTagId, Identifier tagId, Identifier referencedTagId)
      Mappings:
      Namespace Name Mixin selector
      official a Lala;a(Lcom/google/common/collect/Multimap;Labb;Labb;)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 hasCircularDependency Lnet/minecraft/tag/TagGroupLoader;hasCircularDependency(Lcom/google/common/collect/Multimap;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)Z
    • addReference

      private static void addReference(Multimap<Identifier,Identifier> referencedTagIdsByTagId, Identifier tagId, Identifier referencedTagId)
      Mappings:
      Namespace Name Mixin selector
      official b Lala;b(Lcom/google/common/collect/Multimap;Labb;Labb;)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 addReference Lnet/minecraft/tag/TagGroupLoader;addReference(Lcom/google/common/collect/Multimap;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
    • resolveAll

      private com.mojang.datafixers.util.Either<Collection<TagGroupLoader.TrackedEntry>,Collection<T>> resolveAll(TagEntry.ValueGetter<T> valueGetter, List<TagGroupLoader.TrackedEntry> entries)
      Mappings:
      Namespace Name Mixin selector
      official a Lala;a(Lakx$a;Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
      intermediary method_43952 Lnet/minecraft/class_3503;method_43952(Lnet/minecraft/class_3497$class_7474;Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
      named resolveAll Lnet/minecraft/tag/TagGroupLoader;resolveAll(Lnet/minecraft/tag/TagEntry$ValueGetter;Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
    • buildGroup

      Mappings:
      Namespace Name Mixin selector
      official a Lala;a(Ljava/util/Map;)Ljava/util/Map;
      intermediary method_18242 Lnet/minecraft/class_3503;method_18242(Ljava/util/Map;)Ljava/util/Map;
      named buildGroup Lnet/minecraft/tag/TagGroupLoader;buildGroup(Ljava/util/Map;)Ljava/util/Map;
    • load

      public Map<Identifier,Collection<T>> load(ResourceManager manager)
      Mappings:
      Namespace Name Mixin selector
      official b Lala;b(Laim;)Ljava/util/Map;
      intermediary method_33176 Lnet/minecraft/class_3503;method_33176(Lnet/minecraft/class_3300;)Ljava/util/Map;
      named load Lnet/minecraft/tag/TagGroupLoader;load(Lnet/minecraft/resource/ResourceManager;)Ljava/util/Map;