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

[1.21.1] Add HudPreRenderCallback Event and HudPostRenderCallback.EVENT #4275

Closed
wants to merge 2 commits into from

Conversation

JT122406
Copy link
Contributor

@JT122406 JT122406 commented Dec 5, 2024

Adds in a Pre Render Callback to allow developers to render things with the hud appearing over them similar to how carved pumpkins show the hud over the texture. With this addition I decided to rename HudRenderCallback.EVENT to HudPostRenderCallback.EVENT and then Deprecate HudRenderCallback and point devs to using the new Post one.

@Linguardium
Copy link

would probably make more sense here to interact with the LayeredDrawer to allow adding layers or add new layers to do so

@kevinthegreat1
Copy link
Contributor

kevinthegreat1 commented Dec 5, 2024

There is already an open pr for hud render events. See #4119. I’m happy to discuss this further in the fabric discord.

@JT122406
Copy link
Contributor Author

JT122406 commented Dec 5, 2024

There is already an open pr for hud render events. See #4119. I’m happy to discuss this further in the fabric discord.

My bad didn't even see that when I was looking through

@JT122406 JT122406 closed this Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants