Interface Area.Sphere

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

public static sealed interface Area.Sphere extends Area
An area containing all blocks within a radius of a center block.
  • Method Details

    • center

      BlockVec center()
      Returns:
      the center block
    • radius

      int radius()
      Returns:
      the non-negative radius