Class TagUtil.ItemTags

java.lang.Object
fr.rodofire.ewc.util.TagUtil.ItemTags
Enclosing class:
TagUtil

@Deprecated(forRemoval=true) public static class TagUtil.ItemTags extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.item.Item[][]
    convertItemTagToItemArray(List<net.minecraft.tags.TagKey<net.minecraft.world.item.Item>> blockTags)
    Deprecated, for removal: This API element is subject to removal in a future version.
    convert a list of ItemTag to a matrices of array
    static net.minecraft.world.item.Item[]
    convertItemTagToItemArray(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> blockTags)
    Deprecated, for removal: This API element is subject to removal in a future version.
    convert an ItemTag to an array
    static Set<net.minecraft.world.item.Item>
    convertItemTagToItemSet(List<net.minecraft.tags.TagKey<net.minecraft.world.item.Item>> blockTags)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Set<net.minecraft.world.item.Item>
    convertItemTagToItemSet(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> blockTag)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ItemTags

      public ItemTags()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • convertItemTagToItemSet

      public static Set<net.minecraft.world.item.Item> convertItemTagToItemSet(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> blockTag)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • convertItemTagToItemSet

      public static Set<net.minecraft.world.item.Item> convertItemTagToItemSet(List<net.minecraft.tags.TagKey<net.minecraft.world.item.Item>> blockTags)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • convertItemTagToItemArray

      public static net.minecraft.world.item.Item[] convertItemTagToItemArray(net.minecraft.tags.TagKey<net.minecraft.world.item.Item> blockTags)
      Deprecated, for removal: This API element is subject to removal in a future version.
      convert an ItemTag to an array
      Parameters:
      blockTags - the converted ItemTag
      Returns:
      the converted array
    • convertItemTagToItemArray

      public static net.minecraft.world.item.Item[][] convertItemTagToItemArray(List<net.minecraft.tags.TagKey<net.minecraft.world.item.Item>> blockTags)
      Deprecated, for removal: This API element is subject to removal in a future version.
      convert a list of ItemTag to a matrices of array