Minecraft : Give Command Generator

Updating to 1.16 has started, updates are ongoing and incremental.

Item Text

Item Preview

Tips
* 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).





R
G
B
Dec Code


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 bug

Leave me a comment/like on:
Planet Minecraft
Minecraft Forums
Reddit

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.

Todo

  • Make an item look enchanted (but with no enchantments)
  • Book of enchanting, move enchantments to imbue nbt
  • Toggle server prefix, server support and of ยง and \\u00A7 perhaps
  • Show max survival level on enchantments, also versioning.
  • Remember form data on return
  • Import a command
  • CustomModelData?
  • attributes custom names, work in progress

Version History

  • 0.8
    Added: 1.16 blocks and items (initial load with more updates on the way)
    Added: Reloaded 891 blocks and items icons (yes it was a grind)

  • 0.7.6
    Added: Repair Cost (credit: PyroSweets/reddit)

  • 0.7.5
    Added: Attribute, allow negatives on generic.attackSpeed , generic.maxHealth, generic.movementSpeed, and generic.followRange
    Patch: Change attribute UUID generation

  • 0.7.4
    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)

  • 0.7.3
    Added: Minecraft Java 1.15

  • 0.7.2
    Patch: UUID on attributes to allow stacking
    Patch: Spawn egg nbt for 1.12

  • 0.7.1
    Added: All the attribute (removed type filter)

  • 0.7
    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

  • 0.6
    Added can place/destroy rules
    Added block/item search optimisation and free form entry

  • 0.5.6
    Added damage
    Added name to attributes, improved ui

  • 0.5.5
    Fixed 1.14 lore NBT, added colors and styles
    Added 1.14 new stairs, slabs and walls

  • 0.5.4
    Added enchant item recommendation icons

  • 0.5.3
    1.14 is now default
    Removed min/max for enchantments

  • 0.5.2
    Added dye leather armor color NBT
    Added 1.14 blocks and entities (work in progress)
    Moved display flags and added extra's tab

  • 0.5.1
    Improved block search performance
    Fixed some missing blocks and block issues for 1.12 and 1.13

  • 0.5
    Added colored name text NBT
    Added javascript load improvements

  • 0.4
    Added attributes buffs/debuffs system NBT
    Added warning for long commands
    Fixed 1.12 command error due to missing itemdata integer

  • 0.3
    Added 1.13 missing blocks and entities
    Added basic Bedrock command
    Added pages for each version

  • 0.2.1
    Added the hideflags option, and updated the item preview to show enchantments and unbreakable tag.

  • 0.2
    Full overhaul, 1.12 and 1.13 commands
    Added enchantments, name and lore text.

  • 0.1
    Initial build, with search and basic command generator