Title text shadow rendering differs from vanilla
Septicuss opened this issue · 1 comments
Background
Hey! I'm the developer of the "Tooltips" Spigot plugin. The plugin creates tooltips using resource packs and displays them in titles (more specifically subtitles). This is done by laying multiple layers on top of each other using negative spaces. Consists of the background and the actual text.
Issue
In vanilla, the rendering order seems to offset the shadows behind the background. In ImmediatelyFast however, this seems to not be the case.
Without ImmediatelyFast (Vanilla):
Reproducing the issue
-
Attached, is a zip file, containing a resource pack namespace folder
tooltips
. This folder can be dragged into any resource packs'assets
directory.
tooltips-namespace.zip -
Once in-game with the resource pack applied. The following commands can be used to show the tooltip (note: commands too long for chat):
/title @s title {"extra":[{"font":"tooltips:space","text":""},{"color":"#ffffff","font":"tooltips:themes/default-two-line","text":""},{"color":"#ffffff","font":"tooltips:space","text":""},{"color":"white","font":"tooltips:lines/-2","text":"Hel"},{"color":"white","font":"tooltips:lines/-2o","text":"l"},{"color":"white","font":"tooltips:lines/-2","text":"o!"},{"color":"white","font":"tooltips:space","text":""},{"color":"white","font":"tooltips:lines/-7","text":"Second"},{"color":"white","font":"tooltips:space","text":""},{"color":"white","font":"tooltips:lines/-7","text":"l"},{"color":"white","font":"tooltips:lines/-7o","text":"ine"}],"text":""}
/title @s subtitle {"text":""}
/title @s times 0 1000000d 0
- The result should look like the vanilla one attached in the "Issue".
Other
Logs: game-log.txt
Resource pack: tooltips-namespace.zip
This should be fixed now. You can get the latest dev build of ImmediatelyFast here: https://github.com/RaphiMC/ImmediatelyFast/actions/workflows/build.yml