Minecraft : Import / Convert Give Command Generator for 1.12 java

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

Tests

Some test cases as this gets developed

/give @p 137

/give @p 35:15

/give @p sapling:2

/give @p minecraft:command_block

/give aamche diamond_sword{Enchantments:[{id:binding_curse,lvl:1},{id:flame,lvl:1}]} 3

/give @p minecraft:diamond_sword{Enchantments:[{id:"minecraft:binding_curse",lvl:1},{id:"minecraft:flame",lvl:1}]} 2

/give @p diamond_sword{display:{Name:'[{"text":"test name","italic":false},{"text":"test name","bold":true},{"text":" ","bold":false},{"text":"test name","bold":false,"color":"red"}]',Lore:['[{"text":"test lore","italic":false},{"text":"testlore","bold":true,"color":"green"},{"text":" test lore","bold":false,"color":"dark_purple"},{"text":"","bold":false,"color":"dark_purple"}]','[{"text":"tes","italic":false,"color":"dark_purple"},{"text":"t tes","italic":true},{"text":"t ","italic":true,"underlined":true},{"text":"te","italic":true,"underlined":true,"color":"yellow"},{"text":"st","italic":true,"underlined":false,"color":"yellow"},{"text":"","italic":false,"underlined":false,"color":"dark_purple"}]','[{"text":"test ","italic":false,"color":"dark_purple"},{"text":"test","strikethrough":true},{"text":" test","strikethrough":false}]']}} 1

/give @p dirt{CanDestroy:[snow_block,red_wool],CanPlaceOn:[red_wool,green_wool]} 1

/give @p stick{AttributeModifiers:[{AttributeName:"generic.attack_knockback",Amount:0,Slot:mainhand,Operation:1,Name:"generic.attack_knockback",UUID:[I;-121427,11345,154113,-22690]},{AttributeName:"generic.attack_speed",Amount:0,Slot:mainhand,Name:"generic.attack_speed",UUID:[I;-121427,11445,154113,-22890]}]} 1

/give @p minecraft:command_block{Unbreakable:1,Damage:6,RepairCost:3,EntityTag:{Invisible:1b},HideFlags:4} 1

/give @p leather_chestplate{display:{color:11546150}} 1

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.