Interface AlterGroundDecorator

All Superinterfaces:
TreeDecorator, Wrapper

@NullMarked @AsOf("3.0.0") public interface AlterGroundDecorator extends TreeDecorator
Replaces blocks in the #minecraft:dirt tag around the tree with different blocks.
Since:
3.0.0
See Also:
  • Method Details

    • provider

      @AsOf("3.0.0") BlockStateProvider provider()
      A rule-based block state provider defining how to replace the ground.
      Returns:
      the block state provider
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static AlterGroundDecorator of(BlockStateProvider provider)
      Creates a new alter ground decorator.
      Parameters:
      provider - a rule-based block state provider defining how to replace the ground
      Returns:
      a new alter ground decorator
      Since:
      3.0.0