Minecraft : Give Command Generator


Item Text

Item Preview



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.

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 Version Notes

1.14 Java minecraft give command

New blocks and items, mostly just new content. Big changes to villages and villagers.

1.13 Java minecraft give command

The minecraft give command for 1.13 removes block ids completely, it also removes ids from enchantments and changes the dataTag. The dataTag is now part of the item argument and some of the structure changes.
/give <player> <item> [<count>]
/give @p iron_shovel{"display":{"Name":"{\"text\":\"Super Shovel\"}"},"Enchantments":[{"id":"efficiency","lvl":5}]} 1

1.7 Bedrock minecraft give command

This is an early alpha version for bedrock. It has a few quirks, the data is largely been borrowed from 1.13 java, so tags version may be a a little off. Unfortunately at this time Bedrock edition doesn't support advance tags or enchantments.
/give <player: target> <itemName: Item> [amount: int] [data: int] [components: json]

1.12 Java minecraft give command

The minecraft give command for 1.12 is the last one with block ids. In most cases data is usually 0.
/give <player> <item> [amount] [data] [dataTag]
/give @p iron_shovel 1 0 {"display":{"Name":"Super Shovel"},"ench":[{"id":32,"lvl":5}]}

Todo

  • Remember form data on return
  • Import a command
  • add generic.maxHealth, generic.movementSpeed, and generic.followRange to the attributes and allow for negative numbers to be used. Maybe even CustomModelData
  • attributes custom names, work in progress
  • input commands into a command block
  • toggle server prefix

Version History

  • 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