-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 15w41b
-
windows 7
-
Unconfirmed
When creating a written book with customized pages using valid command, a book expected was created. The command was:
/give @p minecraft:written_book 1 0 {title:"1",author:"abc",pages:["1","2"]}
But when it was put into a chest in the first slot, it can't be tested if the tag tag included the pages tag of this written book.
For example:
/testforblock ~ ~ ~2 minecraft:chest -1 {Items:[{id:"minecraft:written_book",tag:{author:"abc"}}]}
This worked well.
But when the command changed, by adding a pages tag, like this:
/testforblock ~ ~ ~2 minecraft:chest -1 {Items:[{id:"minecraft:written_book",tag:{author:"abc",pages:["1","2"]}}]}
It couldn't be tested.
The command was changed to these, but no one worked:
/testforblock ~ ~ ~2 minecraft:chest -1 {Items:[{id:"minecraft:written_book",tag:{author:"abc",pages:["{text:\"1\"}","{text:\"2\"}"]}}]}
/testforblock ~ ~ ~2 minecraft:chest -1 {Items:[{id:"minecraft:written_book",tag:{author:"abc",pages:["{text:\"1\",color:\"black\"}","{text:\"2\",color:\"black\"}"]}}]}
/testforblock ~ ~ ~2 minecraft:chest -1 {Items:[{id:"minecraft:written_book",tag:{author:"abc",pages:["{\"text\":\"1\"}","{\"text\":\"2\"}"]}}]}