MineToolsminetools.cn · Minecraft Java Tools

give Item Command Generator

Minecraft /give Item Command Generator: Customize names, lore, enchantments, attributes, Unbreakable, potions, food, and all 122 item components. Preview the tooltip live, with legacy NBT syntax supported for versions 1.14–26.3.

Loading game data…

The give command syntax is /give <玩家> <物品> [数量], for example, /give @s diamond_sword. Put the name, enchantments, Unbreakable, and other data after the item: for 1.20.5 and later, use square-bracket components diamond_sword[unbreakable={}], use curly-brace NBT diamond_sword{Unbreakable:1b}The generator on this page will format it for the selected version once you choose the properties you want.

Frequently Asked Questions

How do I use the give command to give items to other players?

Teleport @s(yourself) with a player name or selector:/give Steve diamond 64 gives Steve 64 diamonds,/give @a diamond gives all players a diamond,/give @p diamond gives the nearest player a diamond.

How do I use a command to get a sword with max-level enchantments?

Select enchantments and set them to the maximum level under “Enchantments” in the generator, or see theAll Enchantment Commands. With the give command, enchantment levels can go up to 255; enchantments above the normal maximum can only be obtained with commands.

Why is an item's name italicized?

The game displays custom names in italics by default. The generator disables italics by default (writing italic:false), or turn on italics in the name's formatting options.

Why doesn't a /give command I found online work?

It's probably for the wrong version. Starting in 1.20.5, item data changed from NBT to components, and starting in 1.21.5, text changed from JSON strings to SNBT. Select your version in the top-right corner, then generate the command on this page.