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

public abstract class AbstractTagProvider<T> extends Object implements DataProvider
Mappings:
Namespace Name
official lu
intermediary net/minecraft/class_2474
named net/minecraft/data/server/AbstractTagProvider
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official e Llu;e: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

      protected final DataGenerator.PathResolver pathResolver
      Mappings:
      Namespace Name Mixin selector
      official c Llu;c: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

      protected final Registry<T> registry
      Mappings:
      Namespace Name Mixin selector
      official d Llu;d: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

      private final Map<Identifier,TagBuilder> 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

      protected AbstractTagProvider(DataGenerator root, Registry<T> registry)
      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

      public final String getName()
      Specified by:
      getName in interface DataProvider
      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

      public void run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      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

      protected AbstractTagProvider.ObjectBuilder<T> getOrCreateTagBuilder(TagKey<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Llu;a(Lakh;)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

      protected TagBuilder getTagBuilder(TagKey<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official b Llu;b(Lakh;)Lake;
      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;