tr7zw / ItemSwapper

Tweaks to the inventory system based on Xisumavoid's video.
Other
98 stars 27 forks source link

[Suggestion] Though clicking E would open inventory, holding it down would open Palette #211

Closed Boden-C closed 1 month ago

Boden-C commented 1 month ago

Is your feature request related to a problem?

As seen by #154 and general "too many keybinds in modpacks" (I already have my close keybinds bound to other things), my next closest keybind is too far away for me to use it meaningfully

Describe the solution you'd like

A solution would be to use inventory key E but make it so that if you press it (maybe keyDown and keyUp within a few milliseconds) it will open regular inventory, but if you hold it (maybe keyDown for more than the few milliseconds) it will open Pallete instead while it is held.

You could also simulate Alt+Tab behavior where the Palette would immediately open on keyDown but if a keyUp happens within a few milliseconds than the inventory would open. This could cause a flash of the Palette though.

I feel like this is the most beginner-friendly functionality possible as we are already used to using E, item swapper would basically be a "quick inventory function" where you hold your inventory key, choose the option, and then let go instead of being a separate key.

Describe alternatives you've considered

No response

Additional context

No response

tr7zw commented 1 month ago

This is a duplicate of #154 , which suggested the exact same thing^^