scanBlocksInArea

fun scanBlocksInArea(fromPos: JsonObject, toPos: JsonObject, maxAreaSize: Int): JsonObject(source)

Scans non-air blocks in the axis-aligned box defined by fromPos and toPos.

Each input is a JsonObject with x, y, z integer fields. Returns an MCP result containing area info and BFS-compressed block regions.