Interface Area.Line

All Superinterfaces:
Area, Iterable<BlockVec>
Enclosing interface:
Area

public static sealed interface Area.Line extends Area
An area containing blocks traced by a line between two block coordinates.
  • Method Details

    • start

      BlockVec start()
      Returns:
      the start block
    • end

      BlockVec end()
      Returns:
      the end block