Class ItemTagProvider

All Implemented Interfaces:
DataProvider
Direct Known Subclasses:
OneTwentyOneItemTagProvider, VanillaItemTagProvider

public abstract class ItemTagProvider extends ValueLookupTagProvider<Item>
Mappings:
Namespace Name
official og
intermediary net/minecraft/class_7805
named net/minecraft/data/server/tag/ItemTagProvider
  • Field Details

    • blockTags

      private final CompletableFuture<TagProvider.TagLookup<Block>> blockTags
      Mappings:
      Namespace Name Mixin selector
      official d Log;d:Ljava/util/concurrent/CompletableFuture;
      intermediary field_40664 Lnet/minecraft/class_7805;field_40664:Ljava/util/concurrent/CompletableFuture;
      named blockTags Lnet/minecraft/data/server/tag/ItemTagProvider;blockTags:Ljava/util/concurrent/CompletableFuture;
    • blockTagsToCopy

      private final Map<TagKey<Block>,TagKey<Item>> blockTagsToCopy
      Mappings:
      Namespace Name Mixin selector
      official g Log;g:Ljava/util/Map;
      intermediary field_43092 Lnet/minecraft/class_7805;field_43092:Ljava/util/Map;
      named blockTagsToCopy Lnet/minecraft/data/server/tag/ItemTagProvider;blockTagsToCopy:Ljava/util/Map;
  • Constructor Details

    • ItemTagProvider

      public ItemTagProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<Block>> blockTagLookupFuture)
      Mappings:
      Namespace Name Mixin selector
      official <init> Log;<init>(Lkm;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
      intermediary <init> Lnet/minecraft/class_7805;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
      named <init> Lnet/minecraft/data/server/tag/ItemTagProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
    • ItemTagProvider

      public ItemTagProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<Item>> parentTagLookupFuture, CompletableFuture<TagProvider.TagLookup<Block>> blockTagLookupFuture)
      Mappings:
      Namespace Name Mixin selector
      official <init> Log;<init>(Lkm;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
      intermediary <init> Lnet/minecraft/class_7805;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
      named <init> Lnet/minecraft/data/server/tag/ItemTagProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
  • Method Details

    • copy

      protected void copy(TagKey<Block> blockTag, TagKey<Item> itemTag)
      Mappings:
      Namespace Name Mixin selector
      official a Log;a(Lasw;Lasw;)V
      intermediary method_46218 Lnet/minecraft/class_7805;method_46218(Lnet/minecraft/class_6862;Lnet/minecraft/class_6862;)V
      named copy Lnet/minecraft/data/server/tag/ItemTagProvider;copy(Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/registry/tag/TagKey;)V
    • getRegistryLookupFuture

      protected CompletableFuture<RegistryWrapper.WrapperLookup> getRegistryLookupFuture()
      Overrides:
      getRegistryLookupFuture in class TagProvider<Item>
      Mappings:
      Namespace Name Mixin selector
      official b Lok;b()Ljava/util/concurrent/CompletableFuture;
      intermediary method_49651 Lnet/minecraft/class_2474;method_49651()Ljava/util/concurrent/CompletableFuture;
      named getRegistryLookupFuture Lnet/minecraft/data/server/tag/TagProvider;getRegistryLookupFuture()Ljava/util/concurrent/CompletableFuture;