Package etithespirit.orimod.util.level
Class BlockIdentifier
java.lang.Object
etithespirit.orimod.util.level.BlockIdentifier
A utility class that can be used to identify blocks by a general type.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isLeafBlock
(net.minecraft.world.level.block.Block b) Returns whether or not the given block is considered a leaf block.
-
Method Details
-
isLeafBlock
public static boolean isLeafBlock(net.minecraft.world.level.block.Block b) Returns whether or not the given block is considered a leaf block.- Parameters:
b
- The block to test.- Returns:
- True if the block is considered a leaf block.
-