Game Stages

Game Stages

41M Downloads

JEI Category GameStages Support

NielsPilgaard opened this issue ยท 4 comments

commented

Feature request description

I'd like to request GameStages compatibility for the CraftTweaker function mods.jei.JEI.hideCategory(string category), in order to hide tabs that the player doesn't have access to, until the appropriate GameStage.
I imagine it would work like hideCategory, but with an addition string like so:

mods.jei.JEI.hideCategory(string stage, string category);

Feature request reason

  • This feature would most likely reduce player confusion in the early game for my upcoming pack, aswell as reduce the time players need to spend searching through JEI.

Feature request dependencies

  • JEI
commented

This should be possible to add, however I have a feeling that JEI may cache things in a way that prevents hidden categories from being modified during runtime. I will do some tests and write back with additional information once I work things out.

commented

Thank you very much :D
CraftTweaker also adds /ct jeicategories iirc.

commented

This feature has been added to ItemStages in this commit. Darkhax-Minecraft/ItemStages@a00820e

commented

Just wanted to add, you need to know the category ID to hide the category. I don't know if JEI will give you this information anywhere, so I added the /gamestage jeicategories command which will print out every category in the mod.