A crafted shield and a /give shield start out identical, which is exactly why the command matters: it is the only way to hand out variants survival cannot produce. Attach Unbreaking or Mending straight onto the item, push Unbreaking far past the anvil cap, or set the unbreakable flag so the 336-point durability bar never appears at all. Add a name and a couple of lore lines and the same slab of planks and iron reads as a faction relic instead of a workbench product.
For map work, shields are less about raw defense and more about pacing. A blocked hit charges durability instead of health, an axe swing shuts the block down for five seconds, and raising the shield drops the player to sneaking speed. Those are three separate levers you can balance an encounter around, and each one keeps working no matter what name, rarity, or enchantment payload the command attaches.
Unbreakable gate-guard shield
/give @p minecraft:shield[custom_name={text:"Bulwark of the First Gate",color:"gold"},lore=["Issued to gate sentries","Turns any frontal blow"],unbreakable={}] 1Combines a gold name, two lore lines, and the unbreakable flag, so the shield survives an entire arena season without a single repair.
Self-repairing skirmish shield
/give @p minecraft:shield[enchantments={"minecraft:unbreaking":3,"minecraft:mending":1}] 1Unbreaking III stretches the 336 durability and Mending refills it from XP orbs, mirroring the exact pair survival players assemble at an anvil.
Over-cap tournament shield
/give @p minecraft:shield[custom_name={text:"Wall of a Thousand Blows",color:"aqua"},enchantments={"minecraft:unbreaking":1000}] 1Unbreaking 1000 makes durability loss statistically irrelevant while axes can still disable the block for five seconds, so PvP counterplay stays intact.
Epic round-clear reward
/give @p minecraft:shield[custom_name="Champion's Aegis",lore=["Round 10 clear reward"],rarity=epic] 1Setting rarity to epic tints the tooltip presentation light purple, an instant visual tier signal when the item drops into a reward chest.
Rows appear only where the output actually changes -- copy the one that matches your world.
Java 1.16
/give @p minecraft:shield 1Bedrock 26.x
/give @p shield 1Yes. Set the unbreakable flag and the durability bar disappears entirely, but axes can still disable the block for five seconds, so the main counterplay survives even when durability does not.
Unbreaking and Mending, the same pair survival players use; commands also accept over-cap levels like Unbreaking 1000. Neither changes what gets blocked, they only manage durability.
An axe hit disables shields for five seconds, and vindicator attacks trigger the same lockout. Keep the use button held and blocking resumes once the timer runs out.
Loading the workbench…