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

Update JEI integration and add potion fluids to the ingredient list #6934

Open
wants to merge 3 commits into
base: mc1.20.1/dev
Choose a base branch
from

Conversation

mezz
Copy link
Contributor

@mezz mezz commented Sep 12, 2024

This feature was requested on my GitHub for JEI, but I found that it required a small update to Create in order to work.
Fixes mezz/JustEnoughItems#3754

This also resolves a minor issue where all virtual fluids were registered in a way that they were considered "flowing".
I doubt that was causing many issues but it did impact the fluid tooltips in JEI.

Note that tooltips callbacks are simplified in the latest JEI, you can only append to the tooltip.
The end result is slightly less fancy (fluid amount is on its own line) but the same functionality has been preserved.
JEI has improved fluid tooltips compared to before, and so some fluid tooltip logic in Create was made redundant and was able to be removed.

I have added a minimum version requirement for JEI (15.19.0.+) if it is present, because I added new APIs to JEI in order to support this feature.

2024-09-12_16 52 24

This also resolves a minor issue where all virtual fluids were considered "flowing".
Fixes mezz/JustEnoughItems#3754
@IThundxr IThundxr added pr type: fix PR fixes a bug pr type: feature PR adds a new feature or changes an existing feature labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr type: feature PR adds a new feature or changes an existing feature pr type: fix PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Not showing any of potion fluids from Create mod
3 participants