• Tests if a block matches the any of the specified types.

    Tests a block against objects with a block ID and block states, and returns true if any of them are satisfied by the block.

    Parameters

    • Optionalblock: Block

      The block to test, if not specified the function will always return false.

    • Optionalmasks: TestForBlockMatchMasks

      A mask or array of masks to test against the block, if not specified the function will always return false.

    Returns boolean

    Whether the block matches any of the provided masks.