Normally, the client predicts an action the server will take in response to an interaction or simply not handle the interaction at all. However, a case with book components causes the client to handle a different action than the server when dealing with both the written and writable book content components. When interacting with a book with the relevant components, the client immediately opens the writable book screen, and the server opens the written book screen when informed of the interaction; as a result, the client's action will be overwritten by the server's action.
Steps to reproduce
Join a server, as singleplayer does not have enough lag to visibly reproduce the issue
Give yourself a book with both components: /give @s minecraft:written_book[minecraft:writable_book_content={},minecraft:written_book_content={title:"Foo",author:"Bar"}]
Use the book
Observe that the writable book screen appears before being replaced by the written book screen
Expected results
Either the writable book screen or the written book screen would appear without being placed. Per the 'Works as Intended' resolution of MC-278043, the written book screen seemingly should be prioritized.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki