Class BlockCategoryMask

All Implemented Interfaces:
Mask

public class BlockCategoryMask extends AbstractExtentMask
A mask that tests whether a block matches a given BlockCategory, or tag.
  • Constructor Details

  • Method Details

    • test

      public boolean test(BlockVector3 vector)
      Description copied from interface: Mask
      Returns true if the criteria is met.
      Parameters:
      vector - the vector to test
      Returns:
      true if the criteria is met