铁靴子指令
minecraft:iron_boots英文名 Iron Boots
铁靴子(minecraft:iron_boots)不能堆叠,一格只能放 1 个。耐久 195。下面是常用的给予、清除和检测命令,点“复制”就能用。
常用命令
给最近的玩家 1 个铁靴子
/give @p minecraft:iron_boots
给所有玩家
/give @a minecraft:iron_boots
金色的名字
/give @p iron_boots[custom_name={translate:"item.minecraft.iron_boots",color:"gold",italic:false}]想换成自己起的名字,把 translate 那段改成普通文字
带附魔(最高等级)
/give @p iron_boots[enchantments={protection:4,unbreaking:3,mending:1}]无法破坏(不掉耐久)
/give @p iron_boots[unbreakable={}]直接穿到身上(靴子栏)
/item replace entity @p armor.feet with minecraft:iron_boots
清除玩家身上所有铁靴子
/clear @p minecraft:iron_boots
检测手里是否拿着铁靴子
/execute as @a if items entity @s weapon.mainhand minecraft:iron_boots run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.iron_boots"}]基本信息
- 物品 ID
- minecraft:iron_boots
- 最大堆叠
- 1
- 耐久
- 195
- 护甲值
- 2
- 穿戴位置
- 靴子栏
- 附魔能力
- 9
- 类型
- 物品
能用在铁靴子上的附魔
同类物品
同材质物品
数据来自 Minecraft Java 26.3 官方数据,命令都经过 26.3 语法检查。