MC Toolkit / 命令 / 高级命令生成器 — Execute 与 Data / /execute 命令生成器
/execute 命令生成器
用表单生成 /execute 命令:依次叠加 as、at、positioned、if entity、if score、store result 等子命令,最后串到一个 run 命令上。得到完整语法,直接复制使用,浏览器内运行。
44 种参数组合 · 我的世界 26.3 · 取自 Mojang 命令树
/execute if biome <pos> <biome>/execute if block <pos> <block>/execute if blocks <start> <end> <destination> all/execute if blocks <start> <end> <destination> masked/execute if data block <source> <path>/execute if data entity <source> <path>/execute if data storage <source> <path>/execute if dimension <dimension>/execute if entity <entities>/execute if items block <source> <slots> <item_predicate>/execute if items entity <source> <slots> <item_predicate>/execute if loaded <pos>/execute if predicate <predicate>/execute if score <target> <targetObjective> < <source> <sourceObjective>/execute if score <target> <targetObjective> <= <source> <sourceObjective>/execute if score <target> <targetObjective> = <source> <sourceObjective>/execute if score <target> <targetObjective> > <source> <sourceObjective>/execute if score <target> <targetObjective> >= <source> <sourceObjective>/execute if score <target> <targetObjective> matches <range>/execute if slots block <source> <slots>/execute if slots entity <source> <slots>/execute if stopwatch <id> <range>/execute unless biome <pos> <biome>/execute unless block <pos> <block>/execute unless blocks <start> <end> <destination> all/execute unless blocks <start> <end> <destination> masked/execute unless data block <source> <path>/execute unless data entity <source> <path>/execute unless data storage <source> <path>/execute unless dimension <dimension>/execute unless entity <entities>/execute unless items block <source> <slots> <item_predicate>/execute unless items entity <source> <slots> <item_predicate>/execute unless loaded <pos>/execute unless predicate <predicate>/execute unless score <target> <targetObjective> < <source> <sourceObjective>/execute unless score <target> <targetObjective> <= <source> <sourceObjective>/execute unless score <target> <targetObjective> = <source> <sourceObjective>/execute unless score <target> <targetObjective> > <source> <sourceObjective>/execute unless score <target> <targetObjective> >= <source> <sourceObjective>/execute unless score <target> <targetObjective> matches <range>/execute unless slots block <source> <slots>/execute unless slots entity <source> <slots>/execute unless stopwatch <id> <range>
请在管理员聊天、命令方块或函数文件中运行这些指令。这里的“执行”已简化——请按您希望的顺序链接各行。