C
Celebrity Spotlight

How to use commands to give a shield in Minecraft?

Author

Emily Wong

Published May 07, 2026

In later Minecraft versions I can not find the shield in the items list for commands I want to give it to players like swords and crossbows but it just isn't there? 1.18.1

2

1 Answer

You need to put "minecraft:" before the item you want to get/give. Examples:

For a shield

/give @p minecraft:shield

For swords:

/give @p minecraft:diamond_sword

Change "diamond" to any material that you can use to make swords (NOT including sticks)

You can also add "[distance=..3]" right after @p to tell the command block to give to the closes player that is within 3 blocks of distance. you can also change @p to @a to say all players within 3 blocks Examples:

/give @p[distance=..3] minecraft:diamond_sword
/give @a[distance=..3] minecraft:diamond_sword
2