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 ky
intermediary net/minecraft/class_2471
named net/minecraft/data/server/ItemTagProvider
  • Field Details

    • blockTags

      private final Function<TagKey<Block>,Tag.Builder> blockTags
      Mappings:
      Namespace Name Mixin selector
      official d Lky;d: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> Lky;<init>(Lik;Lkt;)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 Lkz;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 Lky;a(Laif;Laif;)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
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Lil;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;