[Suggestion]: Add conditional recipe hiding to api
Flemmli97 opened this issue ยท 2 comments
Suggestion
Currently if you want to hide recipes conditionally (based on e.g. some value on the player) you need to do it manually each time using the current hide/unhide function in the RecipeManager
. It would be nice to have some from the api side that allows you to register a predicate that gets run everytime recipes are queried.
The PluginManager
can maybe hold a map with e.g. IRecipeCategory, Predicate
and this can simply be appended at the place where JEI already checks for hidden recipes.
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.