Debug Get Voxel Grid

Debug tool: Get observed voxel grid with agent-relative coordinates

bdambrosio b56098a 3 files · 3.1 KB Updated

File contents

debug-get-voxel-grid

Debug tool for testing coordinate system. Returns the observed voxel grid with agent-relative coordinates.

Input

  • radius: Optional integer radius (default: 2)

Output

Returns uniform return format with:

  • value: Formatted voxel grid text
  • data: Structured voxel grid dict with:
    • center: {x, y, z, yaw} (absolute coordinates)
    • radius: int
    • cells: List of {dx, dy, dz, solid, block_id, support} (agent-relative coordinates)

Notes

  • Hidden from planner catalog (debug/testing only)
  • Coordinates are agent-relative: dx=right/left, dz=forward/back
  • Accessible via direct {"type": "debug-get-voxel-grid"} invocation

bdambrosio/cognitive_workbench/tree/main/src/world-tools/minecraft/debug-get-voxel-grid commit b56098a289

Frequently asked questions

npx skillmds@latest add bdambrosio/debug-get-voxel-grid