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

Written Book Raw JSON Bug With Cheats Off / Not opped players

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 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
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 8
    • Confirmation Status:
      Community Consensus

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Paracelsus Caleb Charles Coldiron
              • Votes:
                23 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK:

                  Potential Duplicates