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 kp
intermediary net/minecraft/class_2474
named net/minecraft/data/server/AbstractTagProvider
  • Field Details

    • LOGGER

      private static final Logger 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

      private static final Gson 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

      protected final DataGenerator 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

      protected final Registry<T> 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

      private final Map<Identifier,Tag.Builder> 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

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

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

      protected abstract Path getOutput(Identifier id)
      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

      protected AbstractTagProvider.ObjectBuilder<T> getOrCreateTagBuilder(Tag.Identified<T> tag)
      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

      protected Tag.Builder getTagBuilder(Tag.Identified<T> tag)
      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;