Skip to content

Add registerTipScreen to TipsAPI - #88

Merged
Darkhax merged 1 commit into
Darkhax-Minecraft:1.19.2from
Trikzon:1.19.2
Oct 7, 2022
Merged

Darkhax merged 1 commit into
Darkhax-Minecraft:1.19.2from
Trikzon:1.19.2

Conversation

@Trikzon

@Trikzon Trikzon commented Oct 7, 2022

Copy link
Copy Markdown
Contributor

This PR adds to the TipsAPI a static method registerTipScreen that adds screen classes to a list that gets checked to determine whether to render tips on a screen.

The motivation for this PR is to fix #62 by allowing mods to register their own loading screens to render tips on.

I have gone ahead and written an implementation for BCLib that I will PR into BCLib because that's the mod #62 was originally reporting:
image

I am waiting until this PR is merged before creating the PR on BCLib because I want to give you a chance to request changes and I need to know what version this PR will be included in on the maven.

@Darkhax
Darkhax merged commit 970f253 into Darkhax-Minecraft:1.19.2 Oct 7, 2022
@Darkhax

Darkhax commented Oct 7, 2022

Copy link
Copy Markdown
Member

Thanks for the PR, looks great!

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.

[Suggestion] BCLib "Fixing World" Screen Compat

2 participants