Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory title rendering order differs from vanilla #287

Closed
aerulion opened this issue Nov 8, 2024 · 4 comments
Closed

Inventory title rendering order differs from vanilla #287

aerulion opened this issue Nov 8, 2024 · 4 comments
Labels
bug Something isn't working confirmed This issue has been reproduced and confirmed

Comments

@aerulion
Copy link

aerulion commented Nov 8, 2024

On our server, we use custom ui that is made using a custom font as the inventory / container title. If the custom ui texture is overlapping with the bottom inventory text/title, the bottom text should be rendered on top of the top inventory title, at least vanilla handles it that way. When using ImmediatelyFast, the top inventory title will be rendered on top, making the bottom inventory title unreadable if the texture overlaps with it. See attached image for an easier explanation.
if-bug

@RaphiMC
Copy link
Owner

RaphiMC commented Nov 8, 2024

Upload the game log, the server resource pack and provide steps to reproduce the issue (For example using a /give command to give a chest with a custom inventory title)

@RaphiMC RaphiMC added bug Something isn't working not-confirmed This issue has not been reproduced by anyone yet needs-more-information There is not enough information provided and removed bug Something isn't working not-confirmed This issue has not been reproduced by anyone yet labels Nov 8, 2024
@aerulion
Copy link
Author

aerulion commented Nov 8, 2024

I made a demo pack using just the 2 fonts and a single ui texture, tinted a bit to make it easier to distinguish.
A chest for demo purposes can be created using the following command (all tested in 1.21.3):
/setblock ~ ~ ~ chest{CustomName:'[{"color":"white","font":"negative_space","text":"h"},{"color":"white","font":"gui","text":"a"}]'} destroy
if-bug-pack.zip
latest.log

@RaphiMC RaphiMC added bug Something isn't working confirmed This issue has been reproduced and confirmed and removed needs-more-information There is not enough information provided labels Nov 9, 2024
RaphiMC added a commit that referenced this issue Nov 9, 2024
@RaphiMC RaphiMC closed this as completed in f9fbf5d Nov 9, 2024
@RaphiMC
Copy link
Owner

RaphiMC commented Nov 9, 2024

This should be fixed now. You can get the latest dev build of ImmediatelyFast here: https://github.com/RaphiMC/ImmediatelyFast/actions/workflows/build.yml

RaphiMC added a commit that referenced this issue Nov 9, 2024
RaphiMC added a commit that referenced this issue Nov 9, 2024
@aerulion
Copy link
Author

aerulion commented Nov 9, 2024

The dev build works perfectly, thank you for the quick fix! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed This issue has been reproduced and confirmed
Projects
None yet
Development

No branches or pull requests

2 participants