Just Enough Items (JEI)

Just Enough Items (JEI)

387M Downloads

[Suggestion]: Allow mods to disable JEI's default exclusion zones for the vanilla inventory mob effect display

Fuzss opened this issue ยท 8 comments

commented

Suggestion

Hello there, my Stylish Effects mod completely overhauls Minecraft's mob effect display.

The problem with JEI is there is no way for disabling the exclusion zones for the vanilla effect display position which are registered directly from JEI by default.
So far I've used a mixin to disable JEI zones from registering, but since that recently broke, I guess it's a good time to ask for a proper way in the api.

It would be great to be able to disable that functionality in JEI somehow via providing an IModPlugin, so that only my own exclusion zones for the new display are taken into account.

Here are some screenshots of the current behavior: Fuzss/stylisheffects#17

commented

This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

commented

This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

commented

bump

commented

This has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

commented

This has been automatically closed because it has not had recent activity. Please feel free to update or reopen it.

commented

Sorry for the late response.
I have pushed an update that adds the ability to do this to the API, you can find it here:

void disableInventoryEffectRendererGuiHandler();

Let me know if you have any questions!

commented

Thanks!

commented

I have backported this change to 1.20.1 as well, it's available in JEI 15.3.0