[Improvement/1.12-1.16] Broaden compatibility for tooltip rendering
BloCamLimb opened this issue ยท 2 comments
Issue description:
RenderUtils#drawTooltipWithSmallText leads to a poor compatibility to most of other mods
How to fix this:
- Add spaces lines along with
ItemTooltipEvent
- Draw stuff along with
RenderTooltipEvent.PostText
What you expected to happen:
Broaden tooltip rendering compatibility for Grid GUI by following steps above
Steps to reproduce:
See this issue
Version:
All Forge, RS versions from Minecraft 1.12.2 to 1.16.4
If code is relevant for this issue, link it here:
I don't really agree with the "how to fix this", adding extra lines creates a too large tooltip (the line height is much bigger than that of small text).
RenderTooltipEvent
also doesn't really have any facilities to alter the height of the tooltip.