mojira.dev
MC-279249

Text formatting fails in books when copying chest data using the F3 + I command

Steps to reproduce:
Create a book and write text in it: the numbers “1” and “2” separated by line breaks (each number on a new line).
Place the book in a chest.
Copy the data of the chest using the key combination F3 + I (it gives a command with parameters to get a copy of the chest).
Set up a new chest using the generated command.
Open the book in the copied chest.
Actual result: The text in the book has been changed: the line break has disappeared and the numbers “1” and “2” have merged into “12”.

Expected result: The contents of the book should remain unchanged after copying the chest, including preserving all line breaks and text formatting.

Linked issues

Attachments

Comments 2

Can confirm.

[media]
[media]

When you copy a command like this into a function, it will not be executed because it is not a single line as it was before

kontcept

(Unassigned)

Unconfirmed

(Unassigned)

25w02a

Retrieved