Ender Utilities

Ender Utilities

17M Downloads

Feature Request: Handy Bag toggle to switch back and forth to standard inventory GUI

SargeRyong opened this issue ยท 2 comments

commented

In order to maintain easy access to other GUI elements which are added to the standard player inventory, but not the Handy Bag GUI (e.g., the "Carrot" Nutrition Level button from Nutrition, the custom inventory slots from mods like Galacticraft, Aether), It would be nice to have a quick way to switch between the Handy Bag GUI and the standard inventory GUI while the bag is open.

the first thing that comes to mind would be having the "disable bag" button immediately switch to the standard GUI instead of requiring you to close and reopen inventory. Likewise, adding a "enable bag" button to GUI if you a disabled handy bag in your inventory.

commented

Oh, a keybind is probably just as good! I actually didn't realize the sneak+inventory thing worked. That works better and is one fewer click for the user, without the "which bag do we switch to" issue. Thanks!

commented

I'm not really sure if I want to add these, because:

  • The bag GUI is already stuffed full of various buttons...
  • There isn't really a nice way to know where I could add a button to the regular inventory GUI without overlapping something else, unless I add configs options to define the position too
  • Even if I added that, there is the issue that would it affect the first found bag in the inventory, or which one, if there are multiple bags?
  • Adding a button or other functionality to the bag's GUI to switch to the regular player inventory would be slightly hacky/un-clean, due to the way the bag GUI opens currently

Personally I think it's quite fast and easy to re-open the regular inventory just using the inventory keybind (as the regular inventory is opened instead of the bag, if you sneak while opening it). (Basically E -> Shift + E to switch from the bag to the regular inventory, and E -> E from the regular inventory to the bag.)