Mojira Archive
MC-55389

Data tag parsing failed: Unexpected token 'g'

If I summon a mob with "AttributeName:"generic.followRange",Name:"generic.followRange",Amount:200", everything works fine,
but if I try to change the blockdata of a command block with a summon command and this Attribute it gives this error:

[20:51:55] Data tag parsing failed: Unexpected token 'g' at: generic.followRange",Name:"generic.followRange",Amount:200}],CustomName:Norman,DropChances:[0f,0f,0f,0f,0f],Equipment:[{id:0,Damage:0,Count:1},{id:0,Damage:0,Count:1},{id:0,Damage:0,Count:1},{id:0,Damage:0,Count:1},{id:298,Damage:0,Count:1}]}

Edit: Original Command:

/blockdata 39 41 -43 {Command:"/summon Zombie -2 42 6 {AttributeModifiers:[{AttributeName:"generic.followRange",Name:"generic.followRange",Amount:200}],CustomName:Norman,DropChances:[0f,0f,0f,0f,0f],Equipment:[{id:0,Damage:0,Count:1},{id:0,Damage:0,Count:1},{id:0,Damage:0,Count:1},{id:0,Damage:0,Count:1},{id:298,Damage:0,Count:1}]}"}

(same issue when using setblock command instead of blockdata)

Duplicate

Fabian Ommer

2014-05-17, 10:04 PM

2017-06-25, 03:52 PM

2017-06-25, 03:52 PM

0

2

Unconfirmed

Minecraft 14w20b

-