Minecraft Blogs / Tutorial

How does the /give command work?

  • 4,208 views, 1 today
  • 2
  • 1
  • 3
Siem_72's Avatar Siem_72
Level 32 : Artisan Pokemon
Hey guys, in this tutorial I explain to you the /give command.

This command is useful if you want to give something to someone.

This is the command:
/give <player> <item> [amount] [data] [dataTag]

You have to fill in the 'player' and 'item', but the 'amount', the 'data' and the 'dataTag' are optional.
  • Player     -   the player you give the item
  • Item        -   the item you give
  • Amount  -   how many items you give
  • Data       -   for example, if you give a wool block, and the data is 0 (default), it is white wool. But if you change the data to 5, the color of the wool is lime. If you press F3 + H, you can see the data of an item. But, if you give a sword, the data tells Minecraft how much durability is taken from that sword. 
  • dataTag  -   With the dataTag you can add things such as enchantments, a name and lore to the item.


/give @p iron_sword 1 0 {ench:[]}
This adds enchantments to the sword.

/give @p iron_sword 1 0 {ench:[{},{},{}]}
Now there are three enchantments.

/give @p iron_sword 1 0 {ench:[{id:16,lvl:10},{id:19,lvl:2},{id:20,lvl:2}]}
This gives a sword with sharpness 10, knockback 2 and fire aspect 2.

/give @p iron_sword 1 0 {display:{}}
Now you can add a name and lore.

/give @p iron_sword 1 0 {display:{Name:"BestSwordEver",Lore:[Use to kill enemies!]}}
This gives a sword named 'BestSwordEver' and below the name it says 'Use to kill enemies!'

/give @p iron_sword 1 0 {Unbreakable:1}
This gives an unbreakable sword.

/give @p diamond_sword 1 0 {display:{Name:"BestSwordEver",Lore:[Use to kill enemies!]},ench:[{id:16,lvl:1000},{id:19,lvl:2},{id:20,lvl:2}],Unbreakable:1}
This gives an unbreakable diamond sword named 'BestSwordEver', below its name you see 'Use to kill enemies!' and it is enchanted with sharpness 1000, knockback 2 and fire aspect 2.

Create an account or sign in to comment.

06/15/2015 1:01 pm
Level 31 : Artisan Robot
Horwitz1011's Avatar
Have you ever played around with a punch 1000 bow?  It is undeniably fun :p
06/15/2015 1:06 pm
Level 32 : Artisan Pokemon
Siem_72's Avatar
Yes I have! It's very fun indeed, and you can do much more silly things...
06/15/2015 1:07 pm
Level 31 : Artisan Robot
Horwitz1011's Avatar
Planet Minecraft


© 2010 - 2024