Dynamic recipe hiding?
Speiger opened this issue ยท 2 comments
Is it possible to dynamically in/hide recipes on a per player basis as a mod?
I sometimes get requests to support this mod and I heard it's only possible via resource packs.
So do I need to force a resource pack reload to make one recipe visible or not?
Jei has an option, while a bit hacky, to trigger a reload of just it's stuff when I need to change visibility.
While annoying it's still reasonable there.
So I wondered if emi has such an option too. Or if I need to trigger an entire resource pack reload instead?
Just a question for things to write down for future ideas.
EMI does not currently support live recipe hiding, though there is an active project to implement it. Since there's not an open bug for it, I'll track it on this.
In response to the other things in this issue, EMI recipes are added through code just like you'd expect. Resource pack alternatives exist for packmakers. EMI does not have a way to trigger a reload of just its stuff, you'd need to trigger a full data pack reload, which is relatively heavy. Some mods, such as spectrum, simply display "This recipe has not been unlocked".
@emilyploszaj ok about that first issue.
the second issue.
The point is not to have them "locked", but have them "Knowledge" recipes.
Where if you know them you can use them otherwise you are clueless.
And having them always visible is basically breaking the functionality and not Warrant them being inside.
So it would be nice if hiding is more possible and maybe a bit more dynamic.