Posted February 11, 20196 yr Hello. So in my mod i maked a config and added a field that says "remove iron stick". So in the registry handler I register the <iron_stick> only if the field in the config == true. Well, I added a recipe using json files that uses this stick. How I can disable this json recipe file? If i leave it in the assets/modid/recipes folder it spams and error on the minecraft log. Thanks For The Help. - Nov4e
February 11, 20196 yr you're doing the exact opposite of what you should do, stop using in-code recipes. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
February 11, 20196 yr 7 minutes ago, LexManos said: you're doing the exact opposite of what you should do, stop using in-code recipes. I don't see where he said he's using hardcoded recipes? Check out the conditions section of the docs here: https://mcforge.readthedocs.io/en/latest/utilities/recipes/ You can use conditions to conditionally disable json recipes.
February 11, 20196 yr You remove recipes by overriding them with your own empty json recipes. Not with code Edit: didn’t read the question properly Edited February 11, 20196 yr by Cadiboo About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.