* Use the editors on the left to enter custom item text.
* Item name and lore in this editor start as regular text (non-italic), in Minecraft item name and lore are italic by default.
* Lore doesn't wrap automatically, (you will need to add line breaks).
Attributes are a system of buffs/debuffs which are properties on mobs and players.
Add a rule for block placement and/or destroy.
Try the Commands Troubleshooting and Help page if you get stuff with server errors.
Suggestions or found a bugLeave me a comment/like on:
Minecraft Give Command Generator
The give command is one of the most complicated and powerful commands in Minecraft. This tool is a simple Minecraft give command generator for generating complex commands. Paste this command into chat or a command block and you can generate the item, but remember you will need to be op (admin).
Commands are for vanilla (java or bedrock) edition, but can also work for modded Minecraft. So far it includes, item name and lore, item enchantments and the more advance item attributes which can add buffs or debuffs for users that hold or wear an item. More is coming, see the todo list below.
Enchantments: Most enchantments will only work on certain tools, weapons or armour. Be sure to choose the correct enchantments. You can minecraft give sword with enchantments or minecraft give armor generator, choose those items from the minecraft give item list and choose enchantments from the advanced options. There is a huge number of minecraft give enchanted items combinations.
Color Text: Minecraft 1.13 Java added colored text for items. Enchanted weapons and armour can now how colored names. The colored name follows the /tellraw command structure. Unfortunately there is still no in game way to add colored lore text. The only way to currently add colored lore text is by use of an NBT editor and editing game files directly.
Attributes: These can be applied to any item, when a user holds or wears that item they will receive a buff or debuff. For example, a buff can add or multiply damage that a player does when attacking, where as a debuff could reduce their speed. Try to make a sword that can one hit kill a wither.
Can place/destroy: Can place and can destroy are rules used in adventure mode, these allow blocks to only be placed/destroy on the listed blocks or block groups. In this generator you can enter free form text, which gives you a lot of options with nbt tags.
Long Commands: The give command can get quite long and break when entered into chat. The is because chat has a limitation of 256 characters (or 100 characters before 1.11). For commands longer than the limit, use a command block and paste the give command into the command block, place a button on the side and your command should run when pressed.
Versioning: The give command has changed a lot over various versions, most notability the removal of block ids and minor changes to the json encoded dataTag. See notes below, but perhaps one day we can make it work for all versions.
Minecraft Versions Permalinks
If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.
- Book of enchanting, move enchantments to imbue nbt
- Toggle server prefix, server support and of § and \\u00A7 perhaps
- Remember form data on return
- Import a command
- attributes custom names, work in progress
Added: Attribute, allow negatives on generic.attackSpeed , generic.maxHealth, generic.movementSpeed, and generic.followRange
Patch: Change attribute UUID generation
Added: Name and Lore obfuscated and strike-through text option
Added: Notes and ux improvements
Patch: Allowed text styles on the same line (credit: dran_k/planetminecraft)
Added: Minecraft Java 1.15
Patch: UUID on attributes to allow stacking
Patch: Spawn egg nbt for 1.12
Added: All the attribute (removed type filter)
Added minecraft formated json encoding method, option for minecraft/standard (extras)
Added name item short/long option for servers (extras)
Improved Lore nbt generation and removed superfluous elements
Added can place/destroy rules
Added block/item search optimisation and free form entry
Added name to attributes, improved ui
Fixed 1.14 lore NBT, added colors and styles
Added 1.14 new stairs, slabs and walls
Added enchant item recommendation icons
1.14 is now default
Removed min/max for enchantments
Added dye leather armor color NBT
Added 1.14 blocks and entities (work in progress)
Moved display flags and added extra's tab
Improved block search performance
Fixed some missing blocks and block issues for 1.12 and 1.13
Added colored name text NBT
Added attributes buffs/debuffs system NBT
Added warning for long commands
Fixed 1.12 command error due to missing itemdata integer
Added 1.13 missing blocks and entities
Added basic Bedrock command
Added pages for each version
Added the hideflags option, and updated the item preview to show enchantments and unbreakable tag.
Full overhaul, 1.12 and 1.13 commands
Added enchantments, name and lore text.
Initial build, with search and basic command generator