In 1.18, item lore (tooltips) with many lines would display correctly on the screen
In 1.19, tooltips that contain around 13 or more lines will display most of the text off the bottom of the screen. This seems to affect items higher in the inventory compared to ones being displayed in Hotbar.
As shown in the attached files. the Sword with 14 lines in its tooltip is displaying correctly, however, it isn't in the inventory slot above it, as most of the text is displayed offscreen.
Update:
This doesn't just affect custom tooltips from mods or data packs, this can affect vanilla gameplay as shown with the screenshot of the netherite boots, with completely achievable enchants at least some part of the tooltip is cut off no matter where it is in the inventory.
Linked issues
is duplicated by 2
Attachments
Comments 6
Can confirm this is happening with 1.19 and in the current latest snapshot 22w24a. This is not the same bug mentioned by @Dhranios but a new one it seems.
[media]Steps to replicate
1. Run the following command in a command block or terminal:
/give @p stone{display:{Lore:['[{"text":"This","italic":false}]','[{"text":"is","italic":false}]','[{"text":"a","italic":false}]','[{"text":"long","italic":false}]','[{"text":"lore","italic":false}]','[{"text":"to","italic":false}]','[{"text":"test","italic":false}]','[{"text":"if","italic":false}]','[{"text":"this","italic":false}]','[{"text":"bug","italic":false}]','[{"text":"is","italic":false}]','[{"text":"fixed","italic":false}]','[{"text":"in","italic":false}]','[{"text":"the","italic":false}]','[{"text":"latest","italic":false}]','[{"text":"snapshot","italic":false}]','[{"text":"or","italic":false}]','[{"text":"if","italic":false}]','[{"text":"if","italic":false}]','[{"text":"it","italic":false}]','[{"text":"just","italic":false}]','[{"text":"clips","italic":false}]','[{"text":"off","italic":false}]','[{"text":"the","italic":false}]','[{"text":"screen","italic":false}]']}} 1
2. Open your inventory and hover over the item.
I think this might have been fixed along with MC-253214 in 1.19.1 Pre-release 3.
This isn't a duplicate, that's a different text-related issue, this is caused by the removal of the LiteralText class and implementation of its uses in the Text class.
@Dhranios