The line spacing of text within all hover tooltips is larger between the first and second lines
The Bug:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Steps to Reproduce:
- Print some hoverable text in chat by using the command provided below.
/tellraw @s {"text":"MC-118654","hoverEvent":{"action":"show_text","contents":"MC-118654\nMC-118654\nMC-118654\nMC-118654\nMC-118654"}} - Hold your mouse cursor over the text in order for a hover tooltip to be displayed.
- Look at the line spacing of the text within the hover tooltip.
Observed Behavior:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Expected Behavior:
The line spacing of text within all hover tooltips would be equal across all lines.
Code Analysis:
Code analysis by [Mod] bemoty can be found in this comment.
Linked Issues
is duplicated by4
- Unresolved
[Mod] AvomaRockGermany
- 22
- 13
- Confirmed
Low
- Platform
- UI
1.7.5 - 1.21.4
1.7.5 14w11b 1.8.1 1.8.2-pre6 1.8.8 15w31c 1.11 1.11.2 1.12-pre5 1.12 1.12.1 17w47b 18w01a 18w11a 1.13-pre1 1.13 1.13.1-pre1 1.13.1 1.13.2 19w03b 19w03c 1.14-pre3 1.14.2 1.14.3-pre4 1.14.4 1.15-pre7 1.15 1.16-pre1 1.16-pre2 1.16.1 20w30a 20w46a 21w03a 1.16.5 21w05b 21w06a 21w08b 21w17a 1.17.1 21w44a 1.18-pre1 1.18 1.18.1 22w03a 22w05a 22w06a 22w07a 1.18.2 22w17a 22w18a 1.19 1.19.2 22w43a 1.19.3 1.19.4 1.20 1.20.1 23w32a 1.20.2 1.20.4 23w51b 1.20.6 1.21 1.21.1 24w36a 1.21.3 1.21.4-pre1 1.21.4
Created Issue:
Double section in Playerlist (mouseover) at Multiplayerlist
Between the first and second player is a larger paragraph.
Double sectionin Playerlist (mouseover) atMultiplayerlistLarger paragraph between first and second player in Playerlist (mouseover) at server list
Largerparagraphbetween first and second player inPlayerlist (mouseover) atserver listLarger gap between first and second player in mouseover playerlist at multiplayer server list
Between the first and second player is a larger paragraph.
On the multiplayer server selection screen, if you mouse over a server to display the list of players, the gap between the first and second player is 3 pixels tall, while the gaps between the remaining players are only 1 pixel tall.
is duplicated by
relates to
On the multiplayer server selection screen, if you mouse over a server to display the list of players, the gap between the first and second player is 3 pixels tall, while the gaps between the remaining players are only 1 pixel tall.
Code analysis by [Mod] bemoty can be found here .
On the multiplayer server selection screen, if you mouse over a server to display the list of players, the gap between the first and second player is 3 pixels tall, while the gaps between the remaining players are only 1 pixel tall.
Code analysis by [Mod] bemoty can be found
here.The bug
On the multiplayer server selection screen, if you mouse over a server to display the list of players, the gap between the first and second player is 3 pixels tall, while the gaps between the remaining players are only 1 pixel tall.
Code analysis
Code analysis by [Mod] bemoty can be found in this comment.
The
bug
On the multiplayer server selection screen, if you mouse over a server to display the list of players, the gap between the first and second player is 3 pixels tall, while the gaps between the remaining players are only 1 pixel tall.Code
analysisCode analysis by
[Mod] bemoty can be found inthiscomment.The Bug:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Steps to Reproduce:
- Print some hoverable text in chat by using the command provided below.
/tellraw @s {"text":"MC-118654","hoverEvent":{"action":"show_text","contents":"MC-118654\nMC-118654\nMC-118654\nMC-118654\nMC-118654"}}
- Hold your mouse cursor over the text in order for a hover tooltip to be displayed.
- Look at the line spacing of the text within the hover tooltip.
- Take note as to whether or not the line spacing of text within all hover tooltips is larger between the first and second lines.
Observed Behavior:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Expected Behavior:
The line spacing of text within all hover tooltips would be equal across all lines.
Code Analysis:
Code analysis by [Mod] bemoty can be found in this comment.
Larger gap between first and second player in mouseover playerlist at multiplayer server listThe line spacing of text within all hover tooltips is larger between the first and second lines
is duplicated by
is duplicated by
relates to
relates to
The Bug:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Steps to Reproduce:
- Print some hoverable text in chat by using the command provided below.
/tellraw @s {"text":"MC-118654","hoverEvent":{"action":"show_text","contents":"MC-118654\nMC-118654\nMC-118654\nMC-118654\nMC-118654"}}
- Hold your mouse cursor over the text in order for a hover tooltip to be displayed.
Look at the line spacing of the text within the hover tooltip.Take note as to whether or not the line spacing of text withinallhover tooltips is larger between the first and second lines.Observed Behavior:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Expected Behavior:
The line spacing of text within all hover tooltips would be equal across all lines.
Code Analysis:
Code analysis by [Mod] bemoty can be found in this comment.
The Bug:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Steps to Reproduce:
- Print some hoverable text in chat by using the command provided below.
/tellraw @s {"text":"MC-118654","hoverEvent":{"action":"show_text","contents":"MC-118654\nMC-118654\nMC-118654\nMC-118654\nMC-118654"}}- Hold your mouse cursor over the text in order for a hover tooltip to be displayed.
- Look at the line spacing of the text within the hover tooltip.
Observed Behavior:
The line spacing of text within all hover tooltips is larger between the first and second lines.
Expected Behavior:
The line spacing of text within all hover tooltips would be equal across all lines.
Code Analysis:
Code analysis by [Mod] bemoty can be found in this comment.
is duplicated by
Dupe of MC-51859
Dupe of MC-51859
Resolving as a duplicate of MC-51859. These issues are identical.
Thank you for your report!
We're tracking this issue in MC-51859, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Thank you for your report!
We're tracking this issue in MC-51859, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Confirmed.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
Can confirm for Minecraft 1.8.1 as well as for 1.8.2-pre6. Reopen this issue please.
Confirmed for 1.8.8 and 15w31c.
Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.
This is an automated comment on any open or reopened issue with out-of-date affected versions.
The following is based on a decompiled version of MC 1.12 using MCP 9.40pre-1.
In the method net.minecraft.client.gui.GuiScreen.drawHoveringText() there is for-loop through all hover-text lines in which the game checks if itis currently processing the first line. If it is, it adds a 2px gap between the next lines. It does that because a item tooltip should have a bigger gap between its title and its lores, this shouldn't be done with all tooltips which have multiple entries though.
There are many ways to fix this issue. One would be to add a boolean called "header" to the method arguments of drawHoveringText() and check if this boolean is set to true when the first entry is rendered. But this has of course to be decided by a Mojangsta.
This is how the player list looks like with the gap disabled/if-statement skipped.
I suspect this 2px wide gap is intended for item tooltips only, other types of tooltips shouldn't be affected by that imo.
I just checked and found out that item tooltips are indeed the reason for this if-statement.
I'll edit my comment, thanks. [Mod] violine1101
Confirmed for 1.13.1.