Class AbstractTagProvider<T>

java.lang.Object
net.minecraft.data.server.AbstractTagProvider<T>
All Implemented Interfaces:
DataProvider
Direct Known Subclasses:
BiomeTagProvider, BlockTagProvider, ConfiguredStructureFeatureTagProvider, EntityTypeTagProvider, FluidTagProvider, GameEventTagProvider, ItemTagProvider

public abstract class AbstractTagProvider<T> extends Object implements DataProvider
Mappings:
Namespace Name
official kz
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 d Lkz;d: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;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official e Lkz;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

      protected final DataGenerator root
      Mappings:
      Namespace Name Mixin selector
      official b Lkz;b:Lik;
      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

      protected final Registry<T> registry
      Mappings:
      Namespace Name Mixin selector
      official c Lkz;c:Lhb;
      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,Tag.Builder> tagBuilders
      Mappings:
      Namespace Name Mixin selector
      official f Lkz;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> Lkz;<init>(Lik;Lhb;)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 Lkz;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(DataCache cache)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lil;a(Lim;)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

      private Path getOutput(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lkz;a(Lyt;)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

      protected AbstractTagProvider.ObjectBuilder<T> getOrCreateTagBuilder(TagKey<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lkz;a(Laif;)Lkz$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 Tag.Builder getTagBuilder(TagKey<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official b Lkz;b(Laif;)Laie$a;
      intermediary method_27169 Lnet/minecraft/class_2474;method_27169(Lnet/minecraft/class_6862;)Lnet/minecraft/class_3494$class_3495;
      named getTagBuilder Lnet/minecraft/data/server/AbstractTagProvider;getTagBuilder(Lnet/minecraft/tag/TagKey;)Lnet/minecraft/tag/Tag$Builder;