-
Bug
-
Resolution: Unresolved
-
None
-
20w17a, 1.16.4, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w14a, 1.17, 1.17.1, 21w39a, 1.18 Pre-release 1, 1.18, 1.18.1, 22w06a, 1.19.2, 1.19.3 Pre-release 2, 1.19.4, 1.20 Pre-release 1, 1.20.2, 1.20.4, 1.21.1, 24w40a
-
None
-
Confirmed
-
UI
The bug
When signing a book and quill it only allows you to enter 15 characters. It has always been 16 in the past.
How to reproduce
- Take a book and quill item
/give @s minecraft:writable_book
- Try to sign it with a title of exactly 16 characters
- Notice that it only allows 15 characters
Code analysis
The issue is that the field titleEdit in net.minecraft.client.gui.screens.inventory.BookEditScreen checks if the length is < 16. Replacing this with <= 16 fixes the issue.