[18:01:45] Data tag parsing failed: Expected '}' but got ':' at: {SelectedItem:{id:minecraft:<--[HERE]
I've ran into this several times trying to adjust my commands for the new snapshots, one of which is when defining a spawn egg entity type on a /give command. in that case though since it is an entity, I just removed the minecraft:, but for items it don't seem to be working, cause that's the new ids for items minecraft:whatever. it works in give commands like this but this testfor command is not working like it did in 1.11.2... wait.......
I just thought of trying to make the id value a string, It seems to work.. Who would have thought. I read the changelog for 17w16a and didn't see anything too significant where i would need to make an id value a string. hmm interesting
[18:01:45] Data tag parsing failed: Expected '}' but got ':' at: {SelectedItem:{id:minecraft:<--[HERE]
I've ran into this several times trying to adjust my commands for the new snapshots, one of which is when defining a spawn egg entity type on a /give command. in that case though since it is an entity, I just removed the minecraft:, but for items it don't seem to be working, cause that's the new ids for items minecraft:whatever. it works in give commands like this but this testfor command is not working like it did in 1.11.2... wait.......
I just thought of trying to make the id value a string, It seems to work.. Who would have thought. I read the changelog for 17w16a and didn't see anything too significant where i would need to make an id value a string. hmm interesting
the change was a long time ago when they decided it would be a "good idea" to force the JSON parsing as strict. This breaks a LOT of things.
Also, it's the ':' that's invalid, and has always been. you can't use ':' without putting it inside quotation marks since it's a JSON operator.
since the new nbt format change, I seem to have a lot of command blocks no longer working properly. one of which is here:
and the result
I've ran into this several times trying to adjust my commands for the new snapshots, one of which is when defining a spawn egg entity type on a /give command. in that case though since it is an entity, I just removed the minecraft:, but for items it don't seem to be working, cause that's the new ids for items minecraft:whatever. it works in give commands like this but this testfor command is not working like it did in 1.11.2...wait.......I just thought of trying to make the id value a string, It seems to work.. Who would have thought. I read the changelog for 17w16a and didn't see anything too significant where i would need to make an id value a string. hmm interesting
the change was a long time ago when they decided it would be a "good idea" to force the JSON parsing as strict. This breaks a LOT of things.
Also, it's the ':' that's invalid, and has always been. you can't use ':' without putting it inside quotation marks since it's a JSON operator.
Creator of Metroid Cubed 3, a Metroid-themed mod! Become a donator today!