烟翎阁minetools.cn · MC Java 工具

皮革帽子指令

minecraft:leather_helmet英文名 Leather Cap

皮革帽子(minecraft:leather_helmet)不能堆叠,一格只能放 1 个。耐久 55。下面是常用的给予、清除和检测命令,点“复制”就能用。

常用命令

给最近的玩家 1 个皮革帽子
/give @p minecraft:leather_helmet
给所有玩家
/give @a minecraft:leather_helmet
金色的名字
/give @p leather_helmet[custom_name={translate:"item.minecraft.leather_helmet",color:"gold",italic:false}]

想换成自己起的名字,把 translate 那段改成普通文字

带附魔(最高等级)
/give @p leather_helmet[enchantments={protection:4,unbreaking:3,mending:1}]
无法破坏(不掉耐久)
/give @p leather_helmet[unbreakable={}]
直接穿到身上(头盔栏)
/item replace entity @p armor.head with minecraft:leather_helmet
清除玩家身上所有皮革帽子
/clear @p minecraft:leather_helmet
检测手里是否拿着皮革帽子
/execute as @a if items entity @s weapon.mainhand minecraft:leather_helmet run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.leather_helmet"}]
在物品生成器里编辑(名字、附魔、属性……)

基本信息

物品 ID
minecraft:leather_helmet
最大堆叠
1
耐久
55
护甲值
1
穿戴位置
头盔栏
附魔能力
15
类型
物品

能用在皮革帽子上的附魔

同类物品

同材质物品

数据来自 Minecraft Java 26.3 官方数据,命令都经过 26.3 语法检查。