mojira.dev
MC-269335

Upgrading a world from 1.20.2 or earlier can corrupt existing written books

The bug

If a written book in a 1.20.2 world contains JSON text that is invalid as of 1.20.3, the book will stop working after the world is upgraded. This only affects unread books (that is, books without the resolved tag set to true).

How to reproduce

  1. In Version 1.20.2, give yourself two identical written books as follows:

    /give @s written_book{pages:['{"text":"Sample text","color":"zzz"}'],title:MC-269335,author:j_p_smith} 2
  2. Place the books in separate slots

  3. Open one of the books

  4. Save the world and open it in the latest version/snapshot

  5. Open the same book as before
    → ✔ This book displays its text correctly

  6. Open the other book
    → ❌ This book displays raw JSON text (1.20.4) or is blank (24w10a)

Linked issues

Attachments

Comments 1

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

j_p_smith

(Unassigned)

Confirmed

Datafixer, Items

23w40a, 1.20.4, 24w10a

Retrieved