mojira.dev
MC-157805

JSON text in written books can only be resolved by operators

The bug

JSON text is no longer resolved if a player that is not an operator opens a non-resolved written book.

To reproduce

  1. Run

    /give @s written_book{generation:0,author:violine1101,title:"A Test Book",pages:['{"selector":"@s"}']}
  2. Open the book
    → ✔ Your name is written in the book

  3. Delete the book

  4. Run the command again

  5. Deop yourself

  6. Right-click the book
    → ❌ It says {"selector":"@s"}

Original description

I have Written Books made that show scoreboard data values within the pages etc. If a player that is Not OP looks into the book, the entire JSON Code/Format is displayed rather than the result of the JSON Text which results in an entire page willed with numbers and letters and symbols etc. If a player with OP looks into the book it appears perfectly fine and properly displays the Scoreboard/JSON text components.

Linked issues

Comments 4

Is this issue being acknowledged?

Can confirm. This might be intended.

Seems like we already have an older ticket about this, see MC-103171. Resolved as a duplicate.

Jesse Carr

(Unassigned)

Confirmed

Commands

1.14.4

Retrieved