Interface BlockIgnoreProcessor

All Superinterfaces:
StructureProcessor, Wrapper

@NullMarked @AsOf("3.4.0") public interface BlockIgnoreProcessor extends StructureProcessor
Skips the listed blocks when placing a template, so they never overwrite the world. Vanilla uses it to keep structure voids and air out of placed structures.
Since:
3.4.0
See Also:
  • Method Details

    • blocks

      @AsOf("3.4.0") List<Material> blocks()
      The blocks that are not placed.
      Returns:
      the blocks that are not placed
      Since:
      3.4.0
    • of

      @AsOf("3.4.0") static BlockIgnoreProcessor of(List<Material> blocks)
      Creates a new processor.
      Parameters:
      blocks - the blocks that are not placed
      Returns:
      a new processor
      Since:
      3.4.0