shedaniel / RoughlyEnoughItems

Clean and Configurable. Your recipe viewer mod for 1.13+.
Other
327 stars 66 forks source link

Added optional auto-hiding of the entry list #1474

Closed nthxny closed 1 year ago

nthxny commented 1 year ago

Hello, this is a feature i was previously mixing-in to JEI but after switching to REI I figured I'd make a proper PR.

Essentially, a lot of people who play vanilla+ modpacks get overwhelmed by the many rows of items on the side at all times. It's kinda become a hallmark of "modded," and being able to have the option turn to it off unless you search makes vanilla packs feel much better, while maintaining all the functionality when you actually want to search for an item to view a recipe. 99% of my usage of mods like REI is viewing my favorites or searching for specific items or for @modname, very rarely do i need to see every single item in the game at all times.

This is obviously off by default, but with the option turned on, the entry list and all actions (clicking, dragging items) is disabled until a player searches something. The player can search with an empty space to view all items or just toggle auto hide off.

Favorites and all other menus are unaffected.

image

image

This PR is on 9.x-1.19 but I can port to all the other currently maintained branches if you'd like.

shedaniel commented 1 year ago

This is a duplicate of #913, which will be released in the future. Thank you for your contribution though, appreciate it very much! Next time please consider talking to me on my Discord, so that we do not duplicate our workload.