Install
openclaw skills install play-minecraft通过 Mindcraft HTTP API 控制 Minecraft Bot(无内置 LLM)。当用户提到 OpenClaw、外部 agent、REST 接口控制、读取状态、执行动作、批量任务编排时使用。
openclaw skills install play-minecraftmindcraft Bot。node main.jssettings.js 中 external_controller_only: trueGET /api/v1/agents 找到 agent 名(如 andy)GET /api/v1/agents/:agentName/actions/schema 获取动作参数定义POST /api/v1/agents/:agentName/actions/execute 执行动作GET /api/v1/agents/:agentName/state 校验动作结果!stop,再做恢复动作。http://localhost:8080application/jsonGET /api/v1/agentsGET /api/v1/agents/:agentName/stateGET /api/v1/agents/:agentName/actions/schemaPOST /api/v1/agents/:agentName/actions/execute详细字段和示例见 reference.md 与 examples.md。
/agentsin_game=true 的 agent/actions/schema/actions/execute,传 command + args/state,核对位置、背包、健康、当前动作!stopAgent 'xxx' not found
/agents,确认 agent 名称。Agent 'xxx' is not connected in game
/actions/schema 为准重建入参。/state 二次确认,再做补偿动作(例如 !stop、!goToCoordinates 重试)。error 字段,便于排查。