Class BlockIdentifier

java.lang.Object
etithespirit.orimod.util.level.BlockIdentifier

public final class BlockIdentifier extends Object
A utility class that can be used to identify blocks by a general type.
  • 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.