Interface BlockMatchTest

All Superinterfaces:
RuleTest, Wrapper

@NullMarked @AsOf("3.0.0") public interface BlockMatchTest extends RuleTest
Tests is the block is the specified block.
Since:
3.0.0
See Also:
  • Method Details

    • block

      @AsOf("3.0.0") Material block()
      The block to match.
      Returns:
      the block
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static BlockMatchTest of(Material block)
      Creates a new block match test.
      Parameters:
      block - the block to match
      Returns:
      the block match test
      Since:
      3.0.0