mojira.dev
MC-267742

Opening a written book makes it unstackable with identical unopened books

What I expected to happen was...:

Opened and unopened books are stackable

What actually happened was...:

Opened written books cannot be stacked with unopened books.

Steps to Reproduce:
1. Write something in a book and quill and sign it
2. Use the middle mouse button to get an identical copy of the book
3. Note the books are stackable
4. Hold one single book in your hand and open it
5. Try to stack the opened book with the other unopened copy you created in step 2
6. Note that the books can no longer be stacked

 

This is caused by the same problem as described in MC-224343

Attachments

Comments 2

This is very arguably working as expected and/or intentional. NBT data called 'resolved' is added to the book when it's opened, which is a trigger used in combination with advancements:

[media]


The missmatch in data is what causes the inability to stack. If you want the two to stack, you can open the other stack of books (as long as they are otherwise the same).

Here is an exerpt from the wiki, which while not official, explains the functionality better than I can:

resolved: Optional. Created and set to 1 when the book (or a book from the stack) is opened for the first time after being created. Used to determine whether to resolve advanced components within JSON, because their values become fixed at that point.

Cannot reproduce in 1.21.

flylix

(Unassigned)

Confirmed

Platform

Low

Items

1.20.4, 24w03b

24w09a

Retrieved