Published Jun 13th, 2015, 6/13/15 4:54 am
- 4,430 views, 0 today
- 2
- 1
- 3
17
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.
Examples:
/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.
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.
Examples:
/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.
Tags |
3348299
6
Create an account or sign in to comment.