Class AbstractTagProvider<T>

java.lang.Object
net.minecraft.data.server.tag.AbstractTagProvider<T>
All Implemented Interfaces:
DataProvider
Direct Known Subclasses:
BannerPatternTagProvider, BiomeTagProvider, CatVariantTagProvider, FlatLevelGeneratorPresetTagProvider, InstrumentTagProvider, PaintingVariantTagProvider, PointOfInterestTypeTagProvider, StructureTagProvider, ValueLookupTagProvider, WorldPresetTagProvider

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Lmv;d:Lorg/slf4j/Logger;
      intermediary field_11479 Lnet/minecraft/class_2474;field_11479:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/data/server/tag/AbstractTagProvider;LOGGER:Lorg/slf4j/Logger;
    • pathResolver

      protected final DataOutput.PathResolver pathResolver
      Mappings:
      Namespace Name Mixin selector
      official e Lmv;e:Ljf$a;
      intermediary field_39380 Lnet/minecraft/class_2474;field_39380:Lnet/minecraft/class_7784$class_7489;
      named pathResolver Lnet/minecraft/data/server/tag/AbstractTagProvider;pathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
    • registryLookupFuture

      protected final CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture
      Mappings:
      Namespace Name Mixin selector
      official f Lmv;f:Ljava/util/concurrent/CompletableFuture;
      intermediary field_40956 Lnet/minecraft/class_2474;field_40956:Ljava/util/concurrent/CompletableFuture;
      named registryLookupFuture Lnet/minecraft/data/server/tag/AbstractTagProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
    • registryRef

      protected final RegistryKey<? extends Registry<T>> registryRef
      Mappings:
      Namespace Name Mixin selector
      official g Lmv;g:Lace;
      intermediary field_40957 Lnet/minecraft/class_2474;field_40957:Lnet/minecraft/class_5321;
      named registryRef Lnet/minecraft/data/server/tag/AbstractTagProvider;registryRef:Lnet/minecraft/registry/RegistryKey;
    • tagBuilders

      private final Map<Identifier,TagBuilder> tagBuilders
      Mappings:
      Namespace Name Mixin selector
      official h Lmv;h:Ljava/util/Map;
      intermediary field_11481 Lnet/minecraft/class_2474;field_11481:Ljava/util/Map;
      named tagBuilders Lnet/minecraft/data/server/tag/AbstractTagProvider;tagBuilders:Ljava/util/Map;
  • Constructor Details

    • AbstractTagProvider

      protected AbstractTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmv;<init>(Ljf;Lace;Ljava/util/concurrent/CompletableFuture;)V
      intermediary <init> Lnet/minecraft/class_2474;<init>(Lnet/minecraft/class_7784;Lnet/minecraft/class_5321;Ljava/util/concurrent/CompletableFuture;)V
      named <init> Lnet/minecraft/data/server/tag/AbstractTagProvider;<init>(Lnet/minecraft/data/DataOutput;Lnet/minecraft/registry/RegistryKey;Ljava/util/concurrent/CompletableFuture;)V
  • Method Details

    • getName

      public final String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ljd;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(RegistryWrapper.WrapperLookup lookup)
      Mappings:
      Namespace Name Mixin selector
      official a Lmv;a(Lhb$b;)V
      intermediary method_10514 Lnet/minecraft/class_2474;method_10514(Lnet/minecraft/class_7225$class_7874;)V
      named configure Lnet/minecraft/data/server/tag/AbstractTagProvider;configure(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
    • run

      public CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Ljd;a(Ljb;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
    • getOrCreateTagBuilder

      protected AbstractTagProvider.ProvidedTagBuilder<T> getOrCreateTagBuilder(TagKey<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official b Lmv;b(Lamr;)Lmv$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/tag/AbstractTagProvider;getOrCreateTagBuilder(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/tag/AbstractTagProvider$ProvidedTagBuilder;
    • getTagBuilder

      protected TagBuilder getTagBuilder(TagKey<T> tag)
      Mappings:
      Namespace Name Mixin selector
      official c Lmv;c(Lamr;)Lamo;
      intermediary method_27169 Lnet/minecraft/class_2474;method_27169(Lnet/minecraft/class_6862;)Lnet/minecraft/class_3495;
      named getTagBuilder Lnet/minecraft/data/server/tag/AbstractTagProvider;getTagBuilder(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/registry/tag/TagBuilder;