[Suggestion]: Hide Wrench and Bookmark Icons Along with Overlay
jebug29 opened this issue ยท 4 comments
Suggestion
It would be helpful to be able to also hide the wrench and bookmarks icons when using the Ctrl-O toggle to hide the JEI overlay. JEI conflicts with another mod that I use to edit armor stands in game (Armor Stands by Roundaround), and while most of the display is fixed by using the shortcut to hide JEI, the remaining two icons get in the way.
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.
Thanks for the report!
There are two solutions for this issue:
-
JEI only draws alongside screens that inherit from
AbstractContainerScreen
Since you screen has no slots, I think it can be a normalScreen
and not anAbstractContainerScreen
. Changing that will mean JEI doesn't try to draw over it at all. -
Alternatively you can create and register an
IScreenHandler
and make it always returnnull
. That will tell JEI not to draw next to yourAbstractContainerScreen
at all.
https://github.com/mezz/JustEnoughItems/blob/dd5177c1657f3a01d930ba0ecbac90d7bcbed882/CommonApi/src/main/java/mezz/jei/api/gui/handlers/IScreenHandler.java
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.