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

Add support for Tips mod on ProgressScreen #47

Open
wants to merge 1 commit into
base: 1.19
Choose a base branch
from

Conversation

Trikzon
Copy link

@Trikzon Trikzon commented Oct 8, 2022

This PR adds optional support to the Tips mod by adding ProgressScreen to the list of screens that tips can render on.

This was originally reported in Darkhax-Minecraft/Tips#62, which led me to add to Tips' API the ability for mods to add modded screens to the renderable list Darkhax-Minecraft/Tips#88.

Before this PR (Source: Darkhax-Minecraft/Tips#62):
image

After this PR:
image
(Note: I think the weird rendering of the underline and lack of a percentage sign is due to the hacky way I forced the game to display this screen to test it. I didn't change anything in the ProgressScreen class, so it shouldn't be actually affected.)

I tried my best to make this PR fit in with the rest of the code base, but because I'm not familiar with BCLib I'm sure I made some mistakes when it comes to code style. Please let me know if you would like me to change anything :)

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.

1 participant