Minecraft command unfindable unbalanced brackets [duplicate]
I know that there been about three others persons that asked something like this, but the command is not so long:
/summon Skeleton ~ ~1 ~ {ActiveEffect:[{minecraft:speed,Amplifier:10,Duration:3600},{minecraft:health_boost,Amplifier:7,Duration:3600},{minecraft:jump_boost,Amplifier:7,Duration:3600},{minecraft:resistance,Amplifier:7,Duration:3600},{minecraft:strength,Amplifier:7,Duration:3600},{minecraft:glowing,Duration:3600}],HandItems:[{id:iron_sword},{id:shield}],ArmorItems:[{leather_helmet}],CustomName:Warrior,Visible:5,Equipment:[{id:397,Count:1},{CustomName:Warrior’s Head}], DropChances:[1.0f]}
Without the tag, it make:
{[{},{},{},{},{},{}],[{},{}],[{}],,[{},{}],[]}
I checked and re-checked, but I just can't find where is the error. Here is what the command block says:
Best Answer
Breaking it down into a method-by-method format shows the issue:
/summon Skeleton ~ ~1 ~
{
ActiveEffect:
[{
minecraft:speed,Amplifier:10,Duration:3600
},
{
minecraft:health_boost,Amplifier:7,Duration:3600
},
{
minecraft:jump_boost,Amplifier:7,Duration:3600
}; <--- Here is your typo
{
minecraft:resistance,Amplifier:7,Duration:3600
},
{
minecraft:strength,Amplifier:7,Duration:3600
},
{
minecraft:glowing,Duration:3600
}],
HandItems:
[{
id:iron_sword
},
{
id:shield
}],
ArmorItems:
[{
leather_helmet
}],
CustomName:Warrior,Visible:5,Equipment:
[{
id:397,Count:1
},
{
CustomName:Warrior’s Head
}],
DropChances:[1.0f]
}
By breaking it down, you can see you have used a ;
about halfway through your ActiveEffect
block. This is likely what's throwing out your command, as in most programming languages, this is used to terminate the line.
In this command however, as from your screenshot, the error is suggesting a parsing fail - caused by an unexpected character: the ;
.
EDIT: while this isn't actually causing the error, (Courtesy of Kcats) you are missing the syntax for the declaration of the leather helmet - it should be id:leather_helmet
Pictures about "Minecraft command unfindable unbalanced brackets [duplicate]"
Why Sudo Is The Best Command in Minecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ivan Babydov, Anete Lusina, Ivan Babydov, Blue Bird