📜  如何用命令块给某人彩色皮革盔甲 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:34.138000             🧑  作者: Mango

代码示例1
/replaceitem entity @p armor.chest minecraft:leather_chestplate{display:{color:10040115}}

This adds a red leather tunic to the player that is closest to the command block.


Edit: It seems Mojang has replaced the command in 1.17, its now /item replace entity @p armor.chest with minecraft:leather_chestplate{display:{color:10040115}}