Interface BlockRuleSource

All Superinterfaces:
RuleSource, SurfaceRule, Wrapper

@NullMarked @AsOf("3.0.0") public interface BlockRuleSource extends RuleSource
Places the given block's default state at the surface.
Since:
3.0.0
See Also:
  • Method Details

    • block

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

      @AsOf("3.0.0") static BlockRuleSource of(Material block)
      Creates a new block rule source.
      Parameters:
      block - the block to place
      Returns:
      the block rule source
      Since:
      3.0.0