Class TagUtil.BlockTags

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

@Deprecated(forRemoval=true) public static class TagUtil.BlockTags 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.level.block.Block[][]
    convertBlockTagToBlockArray(List<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> blockTags)
    Deprecated, for removal: This API element is subject to removal in a future version.
    convert a list of blockTag to a matrices of array
    static net.minecraft.world.level.block.Block[]
    convertBlockTagToBlockArray(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> blockTags)
    Deprecated, for removal: This API element is subject to removal in a future version.
    convert a blockTag to an array
    static Set<net.minecraft.world.level.block.Block>
    convertBlockTagToBlockSet(List<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> blockTags)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Set<net.minecraft.world.level.block.Block>
    convertBlockTagToBlockSet(Set<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> blockTags)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Set<net.minecraft.world.level.block.Block>
    convertBlockTagToBlockSet(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> 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

    • BlockTags

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

    • convertBlockTagToBlockSet

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

      public static Set<net.minecraft.world.level.block.Block> convertBlockTagToBlockSet(Set<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> blockTags)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • convertBlockTagToBlockSet

      public static Set<net.minecraft.world.level.block.Block> convertBlockTagToBlockSet(List<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> blockTags)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • convertBlockTagToBlockArray

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

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