Skip to content
Minecraft

Minecraft Custom Item Generator

Generate a Java Edition custom item command with an exact resource ID, custom name, lore, enchantment, level, count, and unbreakable component.

Last updated:

Add to My Tools

Local browser processing • no upload required

Generated command

Java command using current item-component or entity-NBT syntax.

/give @p minecraft:diamond_sword[minecraft:custom_name='{"text":"Storm Blade","italic":false}',minecraft:lore=['{"text":"Forged for the overworld","color":"gray","italic":false}'],minecraft:enchantments={"minecraft:sharpness":5},minecraft:unbreakable={}] 1
READY — processing stays in this browser

HOW IT WORKS

How to use this tool

  1. 1Enter the Java Edition item resource ID, target selector, stack count, and the exact display name you want.
  2. 2Add up to eight lore lines, an enchantment resource ID and level, and optionally mark the item unbreakable.
  3. 3Copy the generated Java data-component /give command and run it in a command-enabled world or server.

Quick answer

Which Minecraft versions use this custom item command?

The Java output uses the data-component command format introduced in Java Edition 1.20.5. Older versions used the retired item-tag syntax and need a version-specific generator.

Key specifications

Processing
In your browser
Tool files
Processed on your device
Access
Free; no account required
Result
Copied Minecraft command

FAQ

FAQ

Which Minecraft versions use this custom item command?

The Java output uses the data-component command format introduced in Java Edition 1.20.5. Older versions used the retired item-tag syntax and need a version-specific generator.

Can I add a custom item name and lore?

Yes. Names and lore are serialized as exact Java text components, with non-italic styling and escaping for quotes, apostrophes, backslashes, and Unicode.

Can the generated item be unbreakable?

Yes. Enable Unbreakable to add the minecraft:unbreakable data component to the generated item stack.

Can I use any enchantment level?

The generator accepts whole levels from 1 to 255 and validates the enchantment as a resource ID. Your server may still restrict commands or item behavior.

Does this create a mod or datapack?

No. It creates one /give command using vanilla Java data components; it does not package a mod, resource pack, or datapack.