Newline in tellraw adds a space at the beginning of the new line
Linked Issues
Created Issue:
Newline in tellraw adds a space at the beginning of the new line
In the latest 1.16 snapshot(s), using the \n newline character in tellraw will prepend a space to the new line. This is unexpected behavior and does not occur in 1.15.
This does not seem to affect written books or other commands.
Environment
Windows 10 PC, vanilla Java 1.15
Windows 10 PC, vanilla Java
1.15Windows 10 PC, vanilla Java 20w21a
Windows 10 PC, vanilla Java 20w21a
relates to
In the latest 1.16 snapshot(s), using the \n newline character in tellraw will prepend a space to the new line. This is unexpected behavior and does not occur in 1.15.
This does not seem to affect written books or other commands.
is duplicated by
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-184900.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
1.16.2-pre1 as affected version does not seem to be accurate. This bug was already fixed in 1.16 Pre-release 3, probably due to the fixes of MC-183933 and MC-184900, making the hover event work again. Also, the click event immediately runs the command since that version now (before, in 1.16-pre2 it wrote "/tell [playername]" into the chat input line, regardless of the actual click event).


Caused by the fix for
MC-180138.Confirmed in 20w22a.
Confirmed in 1.16 Pre-release 2.
Fixed in 1.16 pre-release 3