[],display:{Name:lightning_line,Lore:[发射一根普通箭矢就好]}}},{id:MinecartCommandBlock,Command:/replaceitem entity @a[r=5] slot.hotbar.1 minecraft:arrow 64 0 {ench:[],display:{Name:an_arrow,Lore:[用lightning_line射出去就好]}}},{id:MinecartCommandBlock,Command:/setblock ~ ~-1 ~ ...
比如:Item:{id:"minecraft:command_block"},花括号可以包围一类的NBT。专业的来说,{}内的内容都是TAG_Compound标签。(理解不清请谅解。较难解释)[] - 方括号: 这算是一个NBT的小组,这个方括号用在一个目标的后面,然后里面可以有多个花括号来组成。比如:AttributeModifiers:[{},{},{},{},{}] 或者 ...
minecraft:redstone_wire[power=15,north=up,south=side] minecraft:jukebox{RecordItem:{...}} minecraft:furnace[facing=north]{BurnTime:200} <方块>参数的格式为命名空间ID[方块状态]{数据标签},其中方块状态和数据标签在不需要时可以省略。 方块的命名空间ID是必需的(如果没有设定命名空间则将默认为预设值...
Released the “minecraft:display_name” item component out of experimental in json formats 1.20.0 and higher 开放了 1.20.0 及以上版本的实验性 JSON 格式中的 minecraft:display_name 物品组件 Released the “minecraft:durability” item component out of experimental in json formats 1.20.0 and higher ...
`/scoreboard objectives setdisplay sidebar swb` 在tab列表显示玩家生命数: `/scoreboard objectives add sms health "玩家血量"` `/scoreboard objectives setdisplay list sms` 此外还能显示氧气值、饥饿值、击杀数、破坏方块... 需要命令方块 `/give @p minecraft:command_block` 获取命令方块 `/gamerule...
execute as @a[nbt={Inventory:[{Slot:0b,id:"minecraft:command_block",Count:1b}]}] run item replace entity @s inventory.0 with stone 1如果要实现在背包任何一格都替换,则需要36个命令方块指定每一格,常见操作是提示指定某一格子,或者指定某一容器的某一格,无法实现一条命令检测所有格子。本人Java ...
大家好。这是本人除夕三部曲中的第二部——两种不同的自定义指令(gamerule与trigger)详解。我分别用/gamerule和/trigger做了两个例子,链接如下:【CBL·乾坤】[Command Magican系列] 猪骑士:http://tieba.baidu.com/p/3592832689【原版模组系列】自定义指令之——爆炸猪:http://tieba.baidu.com/p/3565082356各位可...
/enchant Adds an enchantment to a player's selected item. Game Directors Yes /event Triggers an event for the specified entity or entities. Game Directors Yes /execute Executes a command on behalf of one or more entities. See more information in the Popular Commands page and the New Execute...
ITEM_DISPLAYDisplays a single item stack. 展示单个物品堆。 Stack can be changed with commands by setting slot inventory.0 使用命令设置 inventory.0 以更改物品堆 Fields: 字段: item - item stack to display. Same format as in inventory (example:{id: "minecraft:dirt", Count: 1}) item - 要...