Class ItemTagProvider

java.lang.Object
net.minecraft.data.server.AbstractTagProvider<Item>
net.minecraft.data.server.ItemTagProvider
All Implemented Interfaces:
DataProvider

public class ItemTagProvider extends AbstractTagProvider<Item>
Mappings:
Namespace Name
official lq
intermediary net/minecraft/class_2471
named net/minecraft/data/server/ItemTagProvider
  • Field Details

    • blockTags

      private final Function<TagKey<Block>,TagBuilder> blockTags
      Mappings:
      Namespace Name Mixin selector
      official e Llq;e:Ljava/util/function/Function;
      intermediary field_23783 Lnet/minecraft/class_2471;field_23783:Ljava/util/function/Function;
      named blockTags Lnet/minecraft/data/server/ItemTagProvider;blockTags:Ljava/util/function/Function;
  • Constructor Details

    • ItemTagProvider

      public ItemTagProvider(DataGenerator root, BlockTagProvider blockTagsProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llq;<init>(Liy;Llj;)V
      intermediary <init> Lnet/minecraft/class_2471;<init>(Lnet/minecraft/class_2403;Lnet/minecraft/class_2466;)V
      named <init> Lnet/minecraft/data/server/ItemTagProvider;<init>(Lnet/minecraft/data/DataGenerator;Lnet/minecraft/data/server/BlockTagProvider;)V
  • Method Details

    • configure

      protected void configure()
      Specified by:
      configure in class AbstractTagProvider<Item>
      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
    • copy

      protected void copy(TagKey<Block> blockTag, TagKey<Item> itemTag)
      Mappings:
      Namespace Name Mixin selector
      official a Llq;a(Lakh;Lakh;)V
      intermediary method_10505 Lnet/minecraft/class_2471;method_10505(Lnet/minecraft/class_6862;Lnet/minecraft/class_6862;)V
      named copy Lnet/minecraft/data/server/ItemTagProvider;copy(Lnet/minecraft/tag/TagKey;Lnet/minecraft/tag/TagKey;)V