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
public abstract class AbstractTagProvider<T> extends Object implements DataProvider
- Mappings:
Namespace Name official kf
intermediary net/minecraft/class_2474
named net/minecraft/data/server/AbstractTagProvider
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractTagProvider.ObjectBuilder<T>
-
Field Summary
Fields Modifier and Type Field Description private static Gson
GSON
private static Logger
LOGGER
protected Registry<T>
registry
protected DataGenerator
root
private Map<Identifier,Tag.Builder>
tagBuilders
Fields inherited from interface net.minecraft.data.DataProvider
SHA1
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTagProvider(DataGenerator root, Registry<T> registry)
-
Method Summary
Modifier and Type Method Description protected abstract void
configure()
protected AbstractTagProvider.ObjectBuilder<T>
getOrCreateTagBuilder(Tag.Identified<T> tag)
protected abstract Path
getOutput(Identifier id)
protected Tag.Builder
getTagBuilder(Tag.Identified<T> tag)
void
run(DataCache cache)
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
Lkf;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
Lkf;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
Lkf;b:Lhs;
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
Lkf;c:Lgn;
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
Lkf;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>
Lkf;<init>(Lhs;Lgn;)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
Lkf;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
Lht;a(Lhu;)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
Lkf;a(Lwb;)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
Lkf;a(Lafc$e;)Lkf$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
Lkf;b(Lafc$e;)Lafc$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;
-