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

Correct use of tooltip events #20

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Conversation

Testure
Copy link
Contributor

@Testure Testure commented Jul 14, 2023

Fixes some mod compatibility issues that came from bad parameters being passed to RenderTooltipEvents.

Makes two changes to tooltips:

  • Tooltips now gather a list of all rendered text strings to pass to events.
  • Tooltips can now optionally be given an ItemStack to pass on to events. (the ItemSlot widget uses this)

@brachy84 brachy84 merged commit 95c263d into CleanroomMC:master Aug 1, 2023
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.

2 participants