Package fr.rodofire.ewc.util
Class TagUtil.BlockTags
java.lang.Object
fr.rodofire.ewc.util.TagUtil.BlockTags
- Enclosing class:
TagUtil
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 arraystatic 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 arraystatic 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.
-
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
-