Minecraft Give Magic Item Command Guide

Creates custom enchanted gear, enchanted books, splash/lingering potions, tipped arrows, and modded spellbooks or scrolls using Java 1.20.5+ data components.

Syntax Reference

Java Edition/give <targets> <item>[components] [<count>]
Bedrock Edition/give <player: target> <itemName: Item> [amount: int] [data: int] [components: json]

Working Magic Examples

/give @p minecraft:diamond_sword[enchantments={levels:{"minecraft:sharpness":5,"minecraft:fire_aspect":2,"minecraft:mending":1}}] 1
/give @p minecraft:splash_potion[potion_contents={potion:"minecraft:strong_healing"}] 1
/give @p minecraft:enchanted_book[stored_enchantments={levels:{"minecraft:swift_sneak":3}}] 1

Technical Notes

Minecraft Java 1.20.5 replaced legacy curly-brace NBT ({Enchantments:[...]}) with square-bracket item components ([enchantments={...}]). Use our Magic Command Generator tool for automatic Java 1.20.4, Java 1.21+, and Bedrock output.

Build full commands interactively in our Magic Command Generator or view the full syntax sheet on 9Minecraft Commands.

Related On 9Minecraft

9Minecraft Magic Updates — New magic mods, spells & Bedrock add-ons

Explore 9Minecraft Network →