Basicly i am trying to make it where if i type "Spawn" in a book that it teleports me to spawn. (to get the book that i am typing in use this command:
/give @p minecraft:writable_book 1 1 {display:{Name:"Magic Book"},Lore:["A Magical","Teleportation Book"],ench:[id:1,lvl:1]}
So i use this command to clear that book when i put "Spawn" in it and activate a comperator to teleport me to 0,0
but for some reason i keep getting this error: [17:58:24] Data tag parsing failed: Unbalanced quotation: {pages:["Hello"],display:{Name:"Magic (it just ends here even though theres more of the command).
Because i couldnt figure out what was wrong i set up a test command i did
/give @p minecraft:writable_book 1 1 {pages:["Hello"],display:{Name:"Magic Book"},Lore:["A Magical","Teleportation Book"],ench:[id:1,lvl:1]}
then i simply replace /give with /clear and the command no longer worked. it gave me the same error. If you could tell me what im doing wrong or if it is the game itself that would be helpful THANK YOU! (i also have pics)
Linked issues
Attachments
Comments 7
the ench isnt the point. that is a trick to make the item look enchanted but it doesnt auctuly add any enchants
its not the command that doesnt work becasue it works when i do /give but when i replace /give with /clear it no longer works
1. ench goes inside the tag tag.
2. ench is a compound array. You are missing the curly braces
3. Lore goes inside display
See http://minecraft.gamepedia.com/Player.dat#Item_structure for more information.