Package net.minecraft.data.server
Class AbstractTagProvider<T>
java.lang.Object
net.minecraft.data.server.AbstractTagProvider<T>
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
BannerPatternTagProvider
,BiomeTagProvider
,BlockTagProvider
,CatVariantTagProvider
,EntityTypeTagProvider
,FlatLevelGeneratorPresetTagProvider
,FluidTagProvider
,GameEventTagProvider
,InstrumentTagProvider
,ItemTagProvider
,PaintingVariantTagProvider
,PointOfInterestTypeTagProvider
,StructureTagProvider
,WorldPresetTagProvider
- Mappings:
Namespace Name official lu
intermediary net/minecraft/class_2474
named net/minecraft/data/server/AbstractTagProvider
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
protected final DataGenerator.PathResolver
private final Map<Identifier,
TagBuilder> Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractTagProvider
(DataGenerator root, Registry<T> registry) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
final String
getName()
protected AbstractTagProvider.ObjectBuilder<T>
getOrCreateTagBuilder
(TagKey<T> tag) protected TagBuilder
getTagBuilder
(TagKey<T> tag) void
run
(DataWriter writer)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official c
Llu;c:Lorg/slf4j/Logger;
intermediary field_11479
Lnet/minecraft/class_2474;field_11479:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/data/server/AbstractTagProvider;LOGGER:Lorg/slf4j/Logger;
-
pathResolver
- Mappings:
Namespace Name Mixin selector official d
Llu;d:Liy$a;
intermediary field_39380
Lnet/minecraft/class_2474;field_39380:Lnet/minecraft/class_2403$class_7489;
named pathResolver
Lnet/minecraft/data/server/AbstractTagProvider;pathResolver:Lnet/minecraft/data/DataGenerator$PathResolver;
-
registry
- Mappings:
Namespace Name Mixin selector official e
Llu;e:Lhm;
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
Llu;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>
Llu;<init>(Liy;Lhm;)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
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Liz;a()Ljava/lang/String;
intermediary method_10321
Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
named getName
Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
-
configure
protected abstract void configure()- Mappings:
Namespace Name Mixin selector official b
Llu;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
Liz;a(Lix;)V
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)V
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)V
-
getOrCreateTagBuilder
- Mappings:
Namespace Name Mixin selector official a
Llu;a(Lakz;)Llu$a;
intermediary method_10512
Lnet/minecraft/class_2474;method_10512(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2474$class_5124;
named getOrCreateTagBuilder
Lnet/minecraft/data/server/AbstractTagProvider;getOrCreateTagBuilder(Lnet/minecraft/tag/TagKey;)Lnet/minecraft/data/server/AbstractTagProvider$ObjectBuilder;
-
getTagBuilder
- Mappings:
Namespace Name Mixin selector official b
Llu;b(Lakz;)Lakw;
intermediary method_27169
Lnet/minecraft/class_2474;method_27169(Lnet/minecraft/class_6862;)Lnet/minecraft/class_3495;
named getTagBuilder
Lnet/minecraft/data/server/AbstractTagProvider;getTagBuilder(Lnet/minecraft/tag/TagKey;)Lnet/minecraft/tag/TagBuilder;
-