-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 1.8.1-pre1, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.10.2
-
None
-
Windows 8
-
Community Consensus
Written Book Raw JSON Bug With Cheats Off
I expected this command:
give @p written_book 1 0 {title:"Stats",author:"Architect",pages:["{\"text\":\"Times Won: \",\"color\":\"dark_green\",\"extra\":[{\"score\":{\"name\":\"@p\",\"objective\":\"Wins\"}},{\"text\":\" Times Lost: \",\"color\":\"red\",\"extra\":[{\"score\":{\"name\":\"@p\",\"objective\":\"Losses\"}}]}]}"]}
to display the holder's scores for Wins and Losses, without Cheats being enabled.
However, when I hold this book it displays this text:"{text:'Times Won: ',color:'dark_green',extra:[{score:{name:'@p',objective:'Wins'}},{text:' Times Lost: ',color:'red',extra:[{score:{name:'@p',objective:'Losses'}}]}]}", this only occurs when Cheats are off, when Cheats are on, it does exactly what it should.
Steps to Reproduce:
1.Start a Creative World With Cheats
2.Give Yourself a Written Book With Any Form of Raw JSON Coding.
3.Edit The World to Disable Cheats
4.The Book Will Fail to Execute The Coding, Displaying The Code Itself In It's Place
- duplicates
-
MC-63988 Score tag in books doesn't work with cheats off/ as non-op
- Reopened