Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-55389

Data tag parsing failed: Unexpected token 'g'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w20b
    • None
    • Windows 7
      Java 7 Update 55
    • Unconfirmed

      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)

            Unassigned Unassigned
            007checker Fabian Ommer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: