-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MINOR ISSUE] Recipe removal on scroll item not being disabled by default #116
Comments
Ok there's actually an explanation to this |
hmm, well its its possible I would have it based on an internal config wtih the file; I think ive seen it done but its a bit IFFY at best if its possible id do it based on reading an external IF ELSE statement; since the config setting itself requires a game restart to take effect |
Wait do you mean that this happens when the scroll item is enabled? Because that is not supposed to happen |
I mean have the recipe appear when its enabled; the recipe is there when its disable thats the issue; sorry |
(also fast respond time holy shit) |
So to recap... The recipe works as intended, meaning you can see what it should craft when the scroll item is enabled. |
well, yeah; what im saying is that the recipe should not pop up like its non existent if the item being used to make it is not in the registry based on the config option setting DISSABLED. theres a few ways; you could do it like I described here or take advantaged at the API to hide the recipe (but that would require integration wtih the other recipe systems API (ie, REI, JEI, EMI, etc) |
basicaly easiest option is to have the recipe file used to be skiped over as if it was not there |
There are ways to add recipes dynamically / conditionally through code. See here for an example: (ignore the bit about the "Fabric Data Generation API tutorials"; they don't cover this afaik) |
I might look into it. The thing is that I want the recipe to be configurable with datapacks, which I'm not sure they will be with the example in this link. I will try to do something that works based on this though |
this is still broken btw, at least on 1.19.2 fabric |
Yeah I've kinda moved away from 1.19.2 for the time being due to me rewriting the mod for 1.20, and I feel like moving between two different sets of code doing essentially the same thing would be kinda annoying. Might backport the 1.20 version when I consider it stable, although it would reset every active grave in world loaded when switching to this new version when still on 1.19.2, so I'm not quite decided yet what the best way of updating would be. |
Describe the bug
Should be self explanitory from the pic
the recipe is not disabled when the teleport/info scroll is not disabled; so it leaves a broken recipe that persist
(Details on image: image of recipe displayed by REI)
The text was updated successfully, but these errors were encountered: