Minecraft Mods

Give Command Generator 1.15 - 1.12

  • 83
  • 67
  • 80
avatar aamche
Level 57 : Grandmaster Engineer
45
Another online command generator, useful for those more unknown commands and for making items.
https://www.gamergeeks.nz/apps/minecraft/give-command-generator


What's Working
  • Name, with text formating and colors (1.13+)
  • Lore, with text formating and colors (1.14+)
  • Enchantments
  • Attributes
  • Place/destroy rules
  • Enchanted Item preview, with name and lore text
  • Search by block or entity name, or use custom
  • Colored leather
  • 1.12 - 1.15

Todo list
  • Book of enchanting, move enchantments to imbue nbt
  • 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
  • add an obfuscated text option

Comments welcome
Progress70% complete
Game VersionMinecraft 1.15
Tags

19 Update Logs

0.7.5 : 02/02/2020 6:56:01 pmFeb 2nd

Added: Attribute, allow negatives on generic.attackSpeed , generic.maxHealth, generic.movementSpeed, and generic.followRange
Patch: Change attribute UUID generation
LOAD MORE LOGS

1
05/27/2020 5:42 pmhistory
Level 16 : Journeyman Geek
logtootoo45
I'm having an issue where if I put a /give command into a command block that has a lengthy command in it already the Display name doesn't work at all, but the enchants do. The Highlighted parts are where I'm having trouble. (The two are the same apart from the highlighted parts)

This one works,

/give @p minecraft:oak_sign{"BlockEntityTag":{"Text1":"{\"text\":\"==============\"}}","Text2":"{\"text\":\"Metal Pipe\"}}","Text3":"{\"text\":\"15 Flesh\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"give @p[​distance=..5, scores={flesh=15..}] bone{Enchantments:[{id:sharpness,lvl:3},{id:smite,lvl:1},{id:sweeping,lvl:1}],HideFlags:1} 1\"},\"color\":\"black\"}","Text4":"{\"text\":\"==============\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute if score @p flesh matches 15.. run clear @p minecraft:rotten_flesh 15\"},\"color\":\"black\"}"},"display":{"Name":"{\"text\":\"15 flesh for Metal Pipe\"}"}}

This one does not work,

/give @p minecraft:oak_sign{"BlockEntityTag":{"Text1":"{\"text\":\"==============\"}}","Text2":"{\"text\":\"Metal Pipe\"}}","Text3":"{\"text\":\"15 Flesh\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"give @p[​distance=..5, scores={flesh=15..}] bone{display:{Name:"[{\"text\":\"Metal Pipe\",\"italic\":false,\"color\":\"white\"}]"},Enchantments:[{id:sharpness,lvl:3},{id:smite,lvl:1},{id:sweeping,lvl:1}],HideFlags:1} 1\"},\"color\":\"black\"}","Text4":"{\"text\":\"==============\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"execute if score @p flesh matches 15.. run clear @p minecraft:rotten_flesh 15\"},\"color\":\"black\"}"},"display":{"Name":"{\"text\":\"15 flesh for Metal Pipe\"}"}}

EDIT: the command above works when its alone like this,  /give @p bone{display:{Name:"[{\"text\":\"Metal Pipe\",\"italic\":false,\"color\":\"white\"}]"},Enchantments:[{id:sharpness,lvl:3},{id:smite,lvl:1},{id:sweeping,lvl:1}],HideFlags:1} 1
2
05/24/2020 2:42 pm
Level 14 : Journeyman Dragon
Foxx2020
U ARE SO COOL
2
05/22/2020 3:21 pm
Level 1 : New Miner
_Z0X
Can you please make a villager trade generator? The one on DigMinecraft is great but it doesnt support NBT values. I use your other programs like the item generator and mob generator. I would love if you did this!
2
05/18/2020 4:08 pmhistory
Level 4 : Apprentice Network
DAREBEAR120
hey man I love this generator and have used it for a couple of years and one feature id like to see is for the armor stand I'd love it if u could give yourself an armor stand with the given gen that has nbt tags and when you place em it'll have arms or something I do know a way to do this already but it can be very tricky and takes some manual work with the commands



e.x.p.
/give @p armor_stand{display:{Name:"[{\"text\":\"Running\",\"italic\":false,\"color\":\"yellow\"}]",Lore:["[{\"text\":\"\",\"italic\":false}]","[{\"text\":\"He a fast boi\",\"italic\":false}]"]},EntityTag:ShowArms:1b,Pose:{LeftLeg:[​46f,0f,0f],RightLeg:[​309f,0f,0f],LeftArm:[​309f,0f,0f],RightArm:[​53f,0f,0f]}} 1
1
05/19/2020 5:32 pm
Level 57 : Grandmaster Engineer
aamche
I love that idea. But you're correct that armor stands are very complicated, so it will be a while before I get it to work. Thanks for the feedback.
1
02/15/2020 4:20 pm
Level 3 : Apprentice Warrior
OmegaPower6
it no work 15.2
1
02/16/2020 4:24 am
Level 57 : Grandmaster Engineer
aamche
Ok. What kind of problem are you having? Maybe I can fix it.
3
01/29/2020 8:37 am
Level 56 : Grandmaster Professor
FriendTroll
That's very useful. ^3^
2
01/28/2020 8:56 am
Level 4 : Apprentice Miner
SVR_Vulby
Been using this for awhile now was just wondering if its possible to add a randomized value each time you use the AttributeModifiers



/give @p stone{AttributeModifiers:[{AttributeName:generic.maxHealth,Amount:20,Operation:0,UUIDLeast:120000,UUIDMost:121000,Name:generic.maxHealth}]} 1

The values 120000 and 121000 would work best if randomized instead of having to manually changed them to stack effects on multiple items
1
01/31/2020 7:20 pm
Level 57 : Grandmaster Engineer
aamche
I've changed the generation of the uuid, would you like to give it a test for me, to see that it works better for you?
2
02/02/2020 6:56 am
Level 4 : Apprentice Miner
SVR_Vulby
Yeah that works so much better thank you~
1
01/28/2020 2:24 pm
Level 57 : Grandmaster Engineer
aamche
Yes thats a good idea, I had though of using a type timestamp that would increase overtime for such cases, but didn't implement. But now that you've mentioned the multiple items thing, I will make that change, shouldn't be too difficult. Stay posted for updated.
2
01/14/2020 1:17 pmhistory
Level 1 : New Explorer
ChatpKSK
This is a great tool and I use it very often!

But I have a suggestion about the color/format of Name and Lore.

I would like you to add options to get MOTD Code. (legacy color codes)

such as
  • regular
/give @p stone{display:{Name:"[{\"text\":\"Hi \",\"color\":\"gold\"},{\"text\":\"aamche\",\"color\":\"yellow\"},{\"text\":\"!\",\"color\":\"red\"}]",Lore:["{\"text\":\"My name is\",\"color\":\"dark_green\"}","{\"text\":\"ChatpKSK\",\"color\":\"green\"}","{\"text\":\"(Test)\"}"]}} 1
  • and MOTD Code (§ is \\u00A7)
/give @p stone{display:{Name:"[{\"text\":\"\\u00A76Hi \\u00A7eaamche\\u00A7c!\"}]",Lore:["{\"text\":\"\\u00A72My name is\"}","{\"text\":\"\\u00A7aChatpKSK\"}","{\"text\":\"(Test)\"}"]}} 1
It's not the same and cannot be combined.

Which I recommend because it is an issue with Spigot's item serialization.
It uses legacy color codes for colored text, so after saving that item it will no longer match the original item.

Reference: https://github.com/Shopkeepers/Shopkeepers/issues/578

A workaround is to also use legacy color codes inside the command block

as shown here: https://github.com/Shopkeepers/Shopkeepers/issues/578#issuecomment-528980231

Thanks :D

(I use on 1.14.4+)
2
01/05/2020 6:01 pmhistory
Level 1 : New Miner
ILoveCustomItems
Hey aamche, this is awesome! Really user-friendly and sleek, good for you.

I have a few questions/problems though:
  • When I type in colored Lore text and then try to change the color of the text, it automatically jumps to a new line. Is there a way to prevent this?
  • I'm not sure how to add in strike-through (&m) and magic (&k) text. How do I do this?
  • Sometimes when I try to paste in a special outside character in the item name such as ✪ and try to change colors in between, a mystery NBSP tag shows up in between the two characters that does not show up in the preview. How do I fix this?
Thanks :) (Using on 1.15 btw)
1
01/26/2020 5:14 am
Level 57 : Grandmaster Engineer
aamche
Update! I've added multiple color line support, strike-though and obfuscated (magic test). Thanks again for your help and in using the generator.
1
01/06/2020 11:18 pmhistory
Level 57 : Grandmaster Engineer
aamche
So far the Minecraft NBT tag only support starting a new line each time the text formatting changes (I think this is still the same in 1.15).
I need to add strike-through and magic text, I'll add it to the todo list.
nbsp is an html code for non-breaking space, it's the same as space. It's strange that it would show up, I haven't been able to reproduce it, but I'll keep at it.

Thanks for all the valuable feedback, a few things there for me to work on.
2
01/11/2020 8:27 pm
Level 1 : New Miner
Dran_k
you can make 2 colors of lore apear on the same line by doing

Lore:['[{"color":"gray","italic":false,"text":"Damage: "},{"text":"+100","color":"red"}]','[{"color":"blue","italic":false,"text":"this is item lore"},{"text":"in two colors"}]'
1
01/26/2020 5:14 am
Level 57 : Grandmaster Engineer
aamche
Update! I've added multiple color line support, strike-though and obfuscated (magic test). Thanks again for your help and in using the generator.
1
01/12/2020 6:29 pm
Level 57 : Grandmaster Engineer
aamche
Thank you, I'll work that into the next release. That's exciting, as it's something really wanted. Great to have a knowledgeable and helpful community.
3
12/23/2019 2:27 am
Level 21 : Expert Dragonborn
Arsham81SBA
Nice!
3
12/20/2019 6:49 am
Level 1 : New Miner
Markus1
when i try thow the trident that the comand give me
then it didnt work. i dont know wry it happend but a trident that you can not thow is not a god trident. is there a way you can fixed it.
2
12/20/2019 5:27 pm
Level 57 : Grandmaster Engineer
aamche
Thanks for reporting the problem, I'd be happy to get that fixed up for you but I haven't been able to find the problem.

Are you able to copy/paste me the command?

I wonder if there was an attribute or enchantment that broke it. I gave it a test in 1.14, but could be another version?
3
12/19/2019 5:40 pm
Level 17 : Journeyman Modder
AwesomeAsh313
Aww man, Thought you download it. Still cool!
3
12/08/2019 2:02 pm
Level 4 : Apprentice Network
DAREBEAR120
can u add an obfuscation thing that way the text can be all glitchy and then it can look glitchy but then its normal
1
01/26/2020 5:15 am
Level 57 : Grandmaster Engineer
aamche
Update! I've added multiple color line support, strike-though and obfuscated (magic test). Thanks again for your help and in using the generator.
3
11/18/2019 9:52 pm
Level 1 : New Network
LilDarkWolf666
i try to make a custom item and all it just says "Loading. . ." and it never does anything and its the only website that i can make the custom item which i need to make right now
2
11/19/2019 3:00 amhistory
Level 57 : Grandmaster Engineer
aamche
Thanks for reporting the problem, I'd be happy to get that fixed up for you. What web browser are you using there (so I can try and reproduce the problem). You'll need javascript enabled.
3
11/21/2019 5:53 pm
Level 1 : New Network
LilDarkWolf666
i use Mozilla Firefox, but i dont know how to enable javascript or to tell if i already have it on
2
11/21/2019 10:49 pmhistory
Level 57 : Grandmaster Engineer
aamche
Cool, thanks for the help. I've now added a javascript disabled warning, so if you don't see that then it must be something else (probably something else, as planetminecraft uses a lot of javascript and that seems to be working for you).

I've tested with a few different versions of Firefox, but still trying to find the problem, I'm going to add some advanced logging, but it may take me a few days to get it working.
3
10/27/2019 11:20 am
Level 7 : Apprentice Archer
iiFOXXER
Just keeps loading for me....
3
12/01/2019 12:59 pm
Level 1 : New Miner
Koichi Hirose
Same here.
2
10/29/2019 12:25 amhistory
Level 57 : Grandmaster Engineer
aamche
Thanks for reporting the problem, I'd be happy to get that fixed up for you. What web browser are you using there (so I can try and reproduce the problem). You'll need javascript enabled.
3
10/25/2019 6:19 pm
Level 1 : New Explorer
MatthewYaB0I
Hey uh.... Maybe you could like, fix the command, I don't know what goes wrong that attack speed and attack damage won't appear on the item's description and that makes the attack damage pretty low.

Regards, MatthewYaB0I.
2
10/29/2019 12:25 amhistory
Level 57 : Grandmaster Engineer
aamche
What Minecraft version are you using there. I'll take a look.

attackSpeed determines speed at which attack strength recharges. Value is the number of full-strength attacks per second. It should be called attackRecovery, a bit miss-leading. Damage seems to work, but can depend on version.
3
09/18/2019 5:52 pm
Level 1 : New Miner
fortnitebot2007
ok
3
08/31/2019 3:19 pm
Level 3 : Apprentice Explorer
Broxton
Thank you so so much for this!
3
08/28/2019 8:16 pm
Level 1 : New Miner
chrrsy
First of all, this is amazing! Thanks a lot for making this. Really useful. One thing that I think would be a good feature would be to by default add italics: false to the command, because by default items are in italics. I wanted one that was not in italics, but I had to go in and manually edit it because I couldn't do it otherwise. This is great though!
3
07/31/2019 3:55 pm
Level 4 : Apprentice Miner
realDractical
how to use nbt data?
1
03/16/2020 9:47 am
Level 4 : Apprentice Miner
realDractical
ah nvm kek
3
07/04/2019 5:43 pm
Level 9 : Apprentice Warrior
RealSwitzer
This did work for me, although some of the tags didn't work.
3
07/01/2019 10:28 pm
Level 1 : New Miner
GoldYT
How I make a potion with name and lore?
I have this two commands

/give @a minecraft:potion{Potion:"minecraft:slowness"} 1 (the potion)

and

/give @a (the potion){"display":{"Name":"[{\"text\":\"Reset\"}]","Lore":["{\"text\":\"Use para voltar ao início\",\"color\":\"dark_purple\"}"]}} 1

but i can't make a funcional command, someone can help me?
3
07/01/2019 10:36 pm
Level 1 : New Miner
GoldYT
I find!!!

/give @a minecraft:potion{Potion:"minecraft:slowness","display":{"Name":"[{\"text\":\"Reset\"}]","Lore":["{\"text\":\"Use para voltar ao início\",\"color\":\"dark_purple\"}"]}} 1
2
07/03/2019 4:35 pm
Level 57 : Grandmaster Engineer
aamche
Thanks I really need to look into the potion aspect or maybe a merge nbt feature. That will be useful what you've provided there.
3
07/01/2019 2:22 pm
Level 1 : New Miner
Ezero2
It is possible to add custom knockback? generic.attackKnockback is copatible?

also a doubt, you can name the attribute? I mean instead of calling it "attack damage" on display, calls it in other way, I saw the option apparently but doesnt work
2
07/03/2019 4:36 pm
Level 57 : Grandmaster Engineer
aamche
I've struggled with this one, I'll keep working it.
4
06/07/2019 3:37 pm
Level 26 : Expert Cake
Nutboy_Bootiecoot
Can you add generic.maxHealth, generic.movementSpeed, and generic.followRange to the attributes and allow for negative numbers to be used. Maybe even CustomModelData as a option too.
1
01/31/2020 7:21 pm
Level 57 : Grandmaster Engineer
aamche
I've added negative numbers for generic.attackSpeed , generic.maxHealth, generic.movementSpeed, and generic.followRange

Would you be able to give it a test to see if it works for you? Thanks,
3
05/21/2019 5:07 am
Level 1 : New Miner
goatcrafter
is it possible to give the attributes custom names?
3
06/09/2019 6:41 am
Level 57 : Grandmaster Engineer
aamche
Added: Give it a try now and check that it works for you as expected.
3
05/20/2019 1:57 pm
Level 57 : Grandmaster Artist
panR4IN
The "Lore" feature doesn't work properly in the 1.14 generator.
If you want to use the Lore feature the generator gives you this:
/give @a stone_sword{"display":{"Name":"[{\"text\":\"Mace\"}]","Lore":["Doesn't do much damage but knocks back enemies hit."]},"Enchantments":[{"id":"knockback","lvl":2}],"Unbreakable":1} 1

When in fact, the command should look like this:
/give @a stone_sword{"display":{"Name":"[{\"text\":\"Mace\"}]",Lore:["{\"text\":\"Doesn't do much damage but knocks back enemies hit.\",\"color\":\"aqua\",\"bold\":\"true\"}"]},"Enchantments":[{"id":"knockback","lvl":2}],"Unbreakable":1} 1

+ I added some color and boldness, but don't worry about that.

Hope you can fix this soon because otherwise it worked for me as intended!
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome