I need help with my custom mob command! [duplicate]
So I have this command here. It's supposed to spawn a wither skeleton with a custom head and some gear.
Errors: "Data Parsing Failed: Unbalanced curly brackets"
Command:
/summon Skeleton ~0 ~1 ~0 {Equipment:[{id:iron_sword,tag:{Unbreakable:1,ench:[{id:19,lvl:2},
{id:16,lvl:1}]}},{},{},{},{id:skull,Damage:3,
tag:SkullOwner:{Id:"5ee854b8-0f30-4ca6-8039-3c0cd74c7d42",Properties:{textures:
[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTk3ZjI4NmRmZTg3YzkyY2VhMjkyODgxNTcxZTgyNjEyNTg2NDM4Y2FiNWMwZjg0N2ZmZTBjOTFhYjlkYmUxIn19fQ=="}]}}},
CustomName:Golem,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:30},
{Name:generic.movementSpeed,Base:0.7},{Name:generic.followRange,Base:40},
{Name:generic.knockbackResistance,Base:1}],
ActiveEffects:[{Id:10,Amplifier:1,Duration:999999}],SkeletonType:1}
Best Answer
Your curly braces appear to be fine. But by the looks of it, you are missing a closing square bracket (]) in your Equipment element (array).
Try putting one at the end of the Equipment element (after the textures value), before the comma:
Equipment:[{id:iron_sword,tag:{Unbreakable:1,ench:[{id:19,lvl:2},
{id:16,lvl:1}]}},{},{},{},{id:skull,Damage:3,tag:SkullOwner:
{Id:"5ee854b8-0f30-4ca6-8039-3c0cd74c7d42",Properties:{textures:
[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTk3ZjI4NmRmZTg3YzkyY2VhMjkyODgxNTcxZTgyNjEyNTg2NDM4Y2FiNWMwZjg0N2ZmZTBjOTFhYjlkYmUxIn19fQ=="}]
}}}],CustomName:Golem
Just a thought, but if you're having trouble scripting commands like this, it helps to paste them into a text editor like Atom. Tools like that make it much easier to see opening/closing brackets and braces.
Also, the Minecraft mobspawner and summon generator tool can help you with the correct syntax as well.
Pictures about "I need help with my custom mob command! [duplicate]"
![I need help with my custom mob command! [duplicate] - Frustrated female driver in white t shirt and jeans sitting on ground near damaged car with hands on head during car travel in sunny summer day I need help with my custom mob command! [duplicate] - Frustrated female driver in white t shirt and jeans sitting on ground near damaged car with hands on head during car travel in sunny summer day](/assets/images/i_need_help_with_my_custom_mob_command_duplicate_1.jpeg)
![I need help with my custom mob command! [duplicate] - Homeless people in night shelter for homeless I need help with my custom mob command! [duplicate] - Homeless people in night shelter for homeless](/assets/images/i_need_help_with_my_custom_mob_command_duplicate_2.jpeg)
![I need help with my custom mob command! [duplicate] - Black and white of homeless man lying on floor and reading book in night shelter for homeless I need help with my custom mob command! [duplicate] - Black and white of homeless man lying on floor and reading book in night shelter for homeless](/assets/images/i_need_help_with_my_custom_mob_command_duplicate_3.jpeg)
How to Make Advanced Custom Mobs - Minecraft Command Block Tutorial [1.11][1.10][1.9]
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ahmed akacha, Gustavo Fring, Plato Terentev, Plato Terentev

