Package net.minecraft.data.server
Class AbstractTagProvider<T>
java.lang.Object
net.minecraft.data.server.AbstractTagProvider<T>
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
BlockTagsProvider
,EntityTypeTagsProvider
,FluidTagsProvider
,GameEventTagsProvider
,ItemTagsProvider
- Mappings:
Namespace Name official kp
intermediary net/minecraft/class_2474
named net/minecraft/data/server/AbstractTagProvider
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Gson
private static final Logger
protected final DataGenerator
private final Map<Identifier,
Tag.Builder> Fields inherited from interface net.minecraft.data.DataProvider
SHA1
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractTagProvider
(DataGenerator root, Registry<T> registry) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
protected AbstractTagProvider.ObjectBuilder<T>
protected abstract Path
getOutput
(Identifier id) protected Tag.Builder
getTagBuilder
(Tag.Identified<T> tag) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.data.DataProvider
getName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lkp;d:Lorg/apache/logging/log4j/Logger;
intermediary field_11479
Lnet/minecraft/class_2474;field_11479:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/data/server/AbstractTagProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official e
Lkp;e:Lcom/google/gson/Gson;
intermediary field_11480
Lnet/minecraft/class_2474;field_11480:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/data/server/AbstractTagProvider;GSON:Lcom/google/gson/Gson;
-
root
- Mappings:
Namespace Name Mixin selector official b
Lkp;b:Lic;
intermediary field_11483
Lnet/minecraft/class_2474;field_11483:Lnet/minecraft/class_2403;
named root
Lnet/minecraft/data/server/AbstractTagProvider;root:Lnet/minecraft/data/DataGenerator;
-
registry
- Mappings:
Namespace Name Mixin selector official c
Lkp;c:Lgw;
intermediary field_11482
Lnet/minecraft/class_2474;field_11482:Lnet/minecraft/class_2378;
named registry
Lnet/minecraft/data/server/AbstractTagProvider;registry:Lnet/minecraft/util/registry/Registry;
-
tagBuilders
- Mappings:
Namespace Name Mixin selector official f
Lkp;f:Ljava/util/Map;
intermediary field_11481
Lnet/minecraft/class_2474;field_11481:Ljava/util/Map;
named tagBuilders
Lnet/minecraft/data/server/AbstractTagProvider;tagBuilders:Ljava/util/Map;
-
-
Constructor Details
-
AbstractTagProvider
- Mappings:
Namespace Name Mixin selector official <init>
Lkp;<init>(Lic;Lgw;)V
intermediary <init>
Lnet/minecraft/class_2474;<init>(Lnet/minecraft/class_2403;Lnet/minecraft/class_2378;)V
named <init>
Lnet/minecraft/data/server/AbstractTagProvider;<init>(Lnet/minecraft/data/DataGenerator;Lnet/minecraft/util/registry/Registry;)V
-
-
Method Details
-
configure
protected abstract void configure()- Mappings:
Namespace Name Mixin selector official b
Lkp;b()V
intermediary method_10514
Lnet/minecraft/class_2474;method_10514()V
named configure
Lnet/minecraft/data/server/AbstractTagProvider;configure()V
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lid;a(Lie;)V
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_2408;)V
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataCache;)V
-
getOutput
- Mappings:
Namespace Name Mixin selector official a
Lkp;a(Lww;)Ljava/nio/file/Path;
intermediary method_10510
Lnet/minecraft/class_2474;method_10510(Lnet/minecraft/class_2960;)Ljava/nio/file/Path;
named getOutput
Lnet/minecraft/data/server/AbstractTagProvider;getOutput(Lnet/minecraft/util/Identifier;)Ljava/nio/file/Path;
-
getOrCreateTagBuilder
- Mappings:
Namespace Name Mixin selector official a
Lkp;a(Laga$e;)Lkp$a;
intermediary method_10512
Lnet/minecraft/class_2474;method_10512(Lnet/minecraft/class_3494$class_5123;)Lnet/minecraft/class_2474$class_5124;
named getOrCreateTagBuilder
Lnet/minecraft/data/server/AbstractTagProvider;getOrCreateTagBuilder(Lnet/minecraft/tag/Tag$Identified;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
-
getTagBuilder
- Mappings:
Namespace Name Mixin selector official b
Lkp;b(Laga$e;)Laga$a;
intermediary method_27169
Lnet/minecraft/class_2474;method_27169(Lnet/minecraft/class_3494$class_5123;)Lnet/minecraft/class_3494$class_3495;
named getTagBuilder
Lnet/minecraft/data/server/AbstractTagProvider;getTagBuilder(Lnet/minecraft/tag/Tag$Identified;)Lnet/minecraft/tag/Tag$Builder;
-