Package net.minecraft.tag
Class TagGroupLoader<T>
java.lang.Object
net.minecraft.tag.TagGroupLoader<T>
public class TagGroupLoader<T> extends Object
- Mappings:
Namespace Name official affintermediary net/minecraft/class_3503named net/minecraft/tag/TagGroupLoader
-
Field Summary
Fields Modifier and Type Field Description private StringdataTypeprivate static GsonGSONprivate static intJSON_EXTENSION_LENGTHprivate static LoggerLOGGERprivate Function<Identifier,Optional<T>>registryGetter -
Constructor Summary
Constructors Constructor Description TagGroupLoader(Function<Identifier,Optional<T>> registryGetter, String dataType) -
Method Summary
Modifier and Type Method Description TagGroup<T>applyReload(Map<Identifier,Tag.Builder> tags)private static booleanmethod_32836(Multimap<Identifier,Identifier> multimap, Identifier identifier, Identifier identifier2)private static voidmethod_32839(Map<Identifier,Tag.Builder> map, Multimap<Identifier,Identifier> multimap, Set<Identifier> set, Identifier identifier, BiConsumer<Identifier,Tag.Builder> biConsumer)private static voidmethod_32844(Multimap<Identifier,Identifier> multimap, Identifier identifier, Identifier identifier2)Map<Identifier,Tag.Builder>method_33174(ResourceManager resourceManager)TagGroup<T>method_33176(ResourceManager resourceManager)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLaff;a:Lorg/apache/logging/log4j/Logger;intermediary field_15607Lnet/minecraft/class_3503;field_15607:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/tag/TagGroupLoader;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official bLaff;b:Lcom/google/gson/Gson;intermediary field_15608Lnet/minecraft/class_3503;field_15608:Lcom/google/gson/Gson;named GSONLnet/minecraft/tag/TagGroupLoader;GSON:Lcom/google/gson/Gson;
-
JSON_EXTENSION_LENGTH
private static final int JSON_EXTENSION_LENGTH- Mappings:
Namespace Name Mixin selector official cLaff;c:Iintermediary field_15603Lnet/minecraft/class_3503;field_15603:Inamed JSON_EXTENSION_LENGTHLnet/minecraft/tag/TagGroupLoader;JSON_EXTENSION_LENGTH:I
-
registryGetter
- Mappings:
Namespace Name Mixin selector official dLaff;d:Ljava/util/function/Function;intermediary field_15609Lnet/minecraft/class_3503;field_15609:Ljava/util/function/Function;named registryGetterLnet/minecraft/tag/TagGroupLoader;registryGetter:Ljava/util/function/Function;
-
dataType
- Mappings:
Namespace Name Mixin selector official eLaff;e:Ljava/lang/String;intermediary field_15605Lnet/minecraft/class_3503;field_15605:Ljava/lang/String;named dataTypeLnet/minecraft/tag/TagGroupLoader;dataType:Ljava/lang/String;
-
-
Constructor Details
-
TagGroupLoader
- Mappings:
Namespace Name Mixin selector official <init>Laff;<init>(Ljava/util/function/Function;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3503;<init>(Ljava/util/function/Function;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/tag/TagGroupLoader;<init>(Ljava/util/function/Function;Ljava/lang/String;)V
-
-
Method Details
-
method_33174
- Mappings:
Namespace Name Mixin selector official aLaff;a(Lacx;)Ljava/util/Map;intermediary method_33174Lnet/minecraft/class_3503;method_33174(Lnet/minecraft/class_3300;)Ljava/util/Map;named method_33174Lnet/minecraft/tag/TagGroupLoader;method_33174(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 aLaff;a(Ljava/util/Map;Lcom/google/common/collect/Multimap;Ljava/util/Set;Lwb;Ljava/util/function/BiConsumer;)Vintermediary method_32839Lnet/minecraft/class_3503;method_32839(Ljava/util/Map;Lcom/google/common/collect/Multimap;Ljava/util/Set;Lnet/minecraft/class_2960;Ljava/util/function/BiConsumer;)Vnamed method_32839Lnet/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 aLaff;a(Lcom/google/common/collect/Multimap;Lwb;Lwb;)Zintermediary method_32836Lnet/minecraft/class_3503;method_32836(Lcom/google/common/collect/Multimap;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)Znamed method_32836Lnet/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 bLaff;b(Lcom/google/common/collect/Multimap;Lwb;Lwb;)Vintermediary method_32844Lnet/minecraft/class_3503;method_32844(Lcom/google/common/collect/Multimap;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)Vnamed method_32844Lnet/minecraft/tag/TagGroupLoader;method_32844(Lcom/google/common/collect/Multimap;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
-
applyReload
- Mappings:
Namespace Name Mixin selector official aLaff;a(Ljava/util/Map;)Lafd;intermediary method_18242Lnet/minecraft/class_3503;method_18242(Ljava/util/Map;)Lnet/minecraft/class_5414;named applyReloadLnet/minecraft/tag/TagGroupLoader;applyReload(Ljava/util/Map;)Lnet/minecraft/tag/TagGroup;
-
method_33176
- Mappings:
Namespace Name Mixin selector official bLaff;b(Lacx;)Lafd;intermediary method_33176Lnet/minecraft/class_3503;method_33176(Lnet/minecraft/class_3300;)Lnet/minecraft/class_5414;named method_33176Lnet/minecraft/tag/TagGroupLoader;method_33176(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/tag/TagGroup;
-