Interface GravityProcessor

All Superinterfaces:
StructureProcessor, Wrapper

@NullMarked @AsOf("3.4.0") public interface GravityProcessor extends StructureProcessor
Drops every template block onto the terrain, measured from a heightmap. It is what terrain-matching pool elements use to follow the ground.
Since:
3.4.0
See Also:
  • Method Details

    • heightmap

      @AsOf("3.4.0") HeightmapType heightmap()
      The heightmap blocks are placed relative to.
      Returns:
      the heightmap blocks are placed relative to
      Since:
      3.4.0
    • offset

      @AsOf("3.4.0") int offset()
      The offset from the heightmap blocks are placed at.
      Returns:
      the offset from the heightmap blocks are placed at
      Since:
      3.4.0
    • of

      @AsOf("3.4.0") static GravityProcessor of(HeightmapType heightmap, int offset)
      Creates a new processor.
      Parameters:
      heightmap - the heightmap blocks are placed relative to
      offset - the offset from the heightmap blocks are placed at
      Returns:
      a new processor
      Since:
      3.4.0