mc_sequence
Executes a short ordered sequence of Minecraft actions—move, place, break, use, attack, chat—to batch chained world interactions in one call, returning a resume point if the 10-second limit stops it.
Instructions
按顺序执行一串世界交互(替代"写脚本"):适合"走到这里放几个方块,再走到那里放几个"这类连串动作。
steps 是数组,每项 op 可为:wait(sec) / move(x,y,z,mode) / look(x,y,z 或 who) / toward(who) / place(x,y,z,name) / break(x,y,z) / dig(name 或 x,y,z,count) / use(x,y,z 或 who) / useitem(hold) / attack(who) / equip(name) / give(name,count) / toss(name,count) / say(text) / jump / swim(x,y,z 或 hold)。
逐步执行,默认遇错即停。
🔴 整串只跑 10 秒(用户要求:单次调用别超过 11 秒)。没跑完会返回 stoppedAt(停在第几步,从 0 数)+ remaining + hint——再叫一次 mc_sequence,steps 从停下的那一步往后发就行,前面已经做完了。所以宁可拆成"一串 3~4 步"叫几次,也别写一大串(一大串跑到 10 秒就断了)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | 步骤数组(上限 64;但一次只跑得完 10 秒的量) | |
| budgetMs | No | 总预算(默认 10000,上限 10000) | |
| stopOnError | No | 出错是否停(默认 true) |