Interface HeightmapPlacement

All Superinterfaces:
PlacementModifier, Wrapper

@NullMarked @AsOf("3.0.0") public interface HeightmapPlacement extends PlacementModifier
Sets the Y coordinate to one block above the heightmap and returns the new position.
Since:
3.0.0
See Also:
  • Method Details

    • heightmap

      @AsOf("3.0.0") HeightmapType heightmap()
      The heightmap to use.
      Returns:
      the heightmap type
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static HeightmapPlacement of(HeightmapType heightmap)
      Creates a new heightmap placement.
      Parameters:
      heightmap - the heightmap type
      Returns:
      a new heightmap placement
      Since:
      3.0.0