Package-level declarations

Generators for circles, spheres and more

Types

Link copied to clipboard
object Circle

Contains the core circle generator functions.

Link copied to clipboard
object Sphere

Contains the core sphere generator functions.

Functions

Link copied to clipboard
fun Vec3i.circlePositionSet(radius: Int): HashSet<BlockPos>

Builds a set using produceCirclePositions.

Link copied to clipboard
fun Vec3i.filledCirclePositionSet(radius: Int): HashSet<BlockPos>

Builds a set using produceFilledCirclePositions.

Link copied to clipboard
fun Vec3i.filledSpherePositionSet(radius: Int): HashSet<BlockPos>

Builds a set using produceFilledSpherePositions.

Link copied to clipboard
inline fun Vec3i.produceCirclePositions(radius: Int, crossinline consumer: (BlockPos) -> Unit)

Produces positions for a hollow circle around this position.

Link copied to clipboard
inline fun Vec3i.produceFilledCirclePositions(radius: Int, crossinline consumer: (BlockPos) -> Unit)

Produces positions for a filled circle around this position.

Link copied to clipboard
inline fun Vec3i.produceFilledSpherePositions(radius: Int, crossinline consumer: (BlockPos) -> Unit)

Produces positions for a filled sphere around this position.