MC Toolkit / 命令 / 高级命令生成器 — Execute 与 Data / /item 命令生成器
/item 命令生成器
用表单生成 /item 命令:把容器方块或实体身上的某个物品栏位替换成新物品,或对其应用一个数据包定义的物品修改器函数。得到完整的 Java 版语法,直接复制使用。浏览器内运行,无需账号,适合地图和数据包制作。
38 种参数组合 · 我的世界 26.3 · 取自 Mojang 命令树
/item fill block <target> <slots> from block <source> <sourceSlots>/item fill block <target> <slots> from block <source> <sourceSlots> <modifier>/item fill block <target> <slots> from entity <source> <sourceSlots>/item fill block <target> <slots> from entity <source> <sourceSlots> <modifier>/item fill block <target> <slots> with <item>/item fill block <target> <slots> with <item> <count>/item fill entity <target> <slots> from block <source> <sourceSlots>/item fill entity <target> <slots> from block <source> <sourceSlots> <modifier>/item fill entity <target> <slots> from entity <source> <sourceSlots>/item fill entity <target> <slots> from entity <source> <sourceSlots> <modifier>/item fill entity <target> <slots> with <item>/item fill entity <target> <slots> with <item> <count>/item modify block <target> <slots> <modifier>/item modify entity <target> <slots> <modifier>/item override block <target> <slots> from block <source> <sourceSlots>/item override block <target> <slots> from block <source> <sourceSlots> <modifier>/item override block <target> <slots> from entity <source> <sourceSlots>/item override block <target> <slots> from entity <source> <sourceSlots> <modifier>/item override block <target> <slots> with <item>/item override block <target> <slots> with <item> <count>/item override entity <target> <slots> from block <source> <sourceSlots>/item override entity <target> <slots> from block <source> <sourceSlots> <modifier>/item override entity <target> <slots> from entity <source> <sourceSlots>/item override entity <target> <slots> from entity <source> <sourceSlots> <modifier>/item override entity <target> <slots> with <item>/item override entity <target> <slots> with <item> <count>/item replace block <target> <slots> from block <source> <sourceSlots>/item replace block <target> <slots> from block <source> <sourceSlots> <modifier>/item replace block <target> <slots> from entity <source> <sourceSlots>/item replace block <target> <slots> from entity <source> <sourceSlots> <modifier>/item replace block <target> <slots> with <item>/item replace block <target> <slots> with <item> <count>/item replace entity <target> <slots> from block <source> <sourceSlots>/item replace entity <target> <slots> from block <source> <sourceSlots> <modifier>/item replace entity <target> <slots> from entity <source> <sourceSlots>/item replace entity <target> <slots> from entity <source> <sourceSlots> <modifier>/item replace entity <target> <slots> with <item>/item replace entity <target> <slots> with <item> <count>
请在管理员聊天、命令方块或函数文件中运行这些指令。这里的“执行”已简化——请按您希望的顺序链接各行。