What can you put in the {}s in a /give command? [duplicate]

What can you put in the {}s in a /give command? [duplicate] - Couple of coworkers in aprons and casual clothes watering plants and putting signboard near cafeteria in daytime

What are the things you can put in the {}s in a /give command? I know some like ench and diplay but no others.

Here are the tags that I know how to use:

/give @p leather_boots 1 0 {display:{Name:"Dese Boots Aren't Made For Walking",Lore:["Some Stylish Boots Right Here"]},ench:[{id:0,lvl:15},{id:16,lvl:15}]} 

That gives me a pair of leather boots with protection XV and sharpness XV Named "Dese Boots Aren't Made For Walking" with Lore of "Some Stylish Boots Right There".

What other tags can you put on items (like potion effects while equipped or attacked with, custom damage, and stuff like that)?



Best Answer

The {} part of the give command is the data tag or NBT data of the item. A full list of valid NBT tags for all items is quite extensive and subject to change with every version/snapshot. I will give a brief overview instead, and refer to the wiki for a full list. Basically, the data tag can include anything listed as a subtag of

tag: Additional information about the item, discussed in the below sections. This tag is optional for most items.

This includes:

  • Enchantments (ench)
  • Potion effects
  • The display tag, with things like color, name and lore
  • Tags for written books
  • BlockEntityData, holding NBT data of things that have data when placed in the world, such as chests (this alone is a large topic)
  • ...

Note that while you can put a lot of things as data, the game simply ignites everything that makes no sense to it. Putting an author tag on a sword it's no different from putting a banana tag, neither do anything but waste memory.




Pictures about "What can you put in the {}s in a /give command? [duplicate]"

What can you put in the {}s in a /give command? [duplicate] - Woman sorting garbage and putting metal can into bucket
What can you put in the {}s in a /give command? [duplicate] - A Man Standing with a Can of Paint
What can you put in the {}s in a /give command? [duplicate] - Brown Wooden Blocks on White Table



Which command is used to duplicate?

Answer. Explanation: To duplicate an object, click on object you'd like to copy, and click the copy icon on our toolbar. You can akso use the keyboard shortcut(Command) +C to copy and ( Command) + V to paste for mac or (control) +C to copy and (Control) +V to paste on PC..

What is the command to give yourself diamonds in Minecraft?

If want to give multiple blocks at once, you need to specify an Amount in the /give command. The amount goes after the Item that you are giving. Type the command in the chat window and press the Enter key to run the command. In this example, you have specified an amount of 4 in the /give command.

How do you use the give command in Minecraft?

You'll type it as /give PlayerName ItemName Quantity. So for example, if your username was JohnDoe and you wanted to give yourself 30 diamonds, you'd type /give JohnDoe diamond 30. If you don't know your username, you can type @s in its place instead.



18 Items You Can ONLY Get With COMMANDS In Minecraft (1.13-1.17+)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Tim Douglas, SHVETS production, ANTONI SHKRABA, Brett Jordan