MineToolsminetools.cn · Minecraft Java Tools

Diamond Leggings command

minecraft:diamond_leggingsEnglish name Diamond Leggings

Diamond Leggings (minecraft:diamond_leggings) can't be stacked; only 1 can go in a slot.Durability: 495.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.

Common Commands

Give the nearest player 1 Diamond Leggings
/give @p minecraft:diamond_leggings
Give all players
/give @a minecraft:diamond_leggings
Gold Name
/give @p diamond_leggings[custom_name={translate:"item.minecraft.diamond_leggings",color:"gold",italic:false}]

To use a name of your own, replace the translate part with plain text

With Enchantments (Max Level)
/give @p diamond_leggings[enchantments={protection:4,unbreaking:3,mending:1}]
Indestructible (doesn't lose durability)
/give @p diamond_leggings[unbreakable={}]
Equip directly (Leggings Slot)
/item replace entity @p armor.legs with minecraft:diamond_leggings
Clear all Diamond Leggings from the player
/clear @p minecraft:diamond_leggings
Check if holding Diamond Leggings
/execute as @a if items entity @s weapon.mainhand minecraft:diamond_leggings run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.diamond_leggings"}]
Edit in the Item Generator (name, enchantments, attributes, ...)

Basic Information

Item ID
minecraft:diamond_leggings
Max Stack Size
1
Durability
495
Armor
6
Equipment Slot
Leggings Slot
Enchantability
10
Type
Item

Enchantments for Diamond Leggings

Similar Items

Items Made of the Same Material

Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.