Mods / Recipe Patcher
Author: DanaCraluminum
Side: Server
Created: Apr 22nd at 3:06 PM
Last modified: Apr 24th at 2:49 PM
Downloads: 2752
Follow Unfollow 111
Latest file for Various v1.19.x:
RecipePatcher-v1.1.1.zip
1-click install
I'm living in Ukraine and there is war happening right now. Most of my free time I spend on modding when I get a few hours between electricity blackouts.
If you love my work, you can support me on Patreon, I would greatly appreciate it ❤️. Donations keep me doing what I truly love - modding.
This is a library that allows to patch recipes for content mods. It requires your mod to be dependent on this library when installed server-side or in single-player. If the library is not installed, no patches for recipes will be applied.
Documentation on JSON API of this library.
If you need any help with library, you can join my discord by clicking discord icon on this page or find me in discord on official VS server
TODO
- quantity and quantityNew for ingredients
- type and typeNew for output and ingredients (Block, Item)
- proper attributes matcher
- traits
Mods that use Recipe Patcher:
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.1.1 | 2576 | Apr 24th at 2:49 PM | Show | RecipePatcher-v1.1.1.zip | Install now | |
v1.1.0 | 78 | Apr 24th at 2:43 PM | Show | RecipePatcher-v1.1.0.zip | Install now | |
v1.0.0 | 98 | Apr 22nd at 4:24 PM | Show | RecipePatcher-v1.0.0.zip | Install now |
It was indeed a different combination of mods making either immersive wood chopping or firewood in general not work well. Immersive wood chopping, herbarium, a wrong (old) version of wildcraft trees and recipe patcher together is what made either firewood in general or immersive wood chopping disfunction. Somehow not including recipe patcher did fix some of the firewood recipes for that combination of mods however.
osswix I tried to reproduce this with only three mods installed and it works, although I wasn't able to reproduce issue
osswix Do you mean it breaks Immersive Wood Chopping only when both Immersive Wood Chopping and Recipe Patcher are the only two mods installed, and no other additional mods except these two?
This mod seems to break Immersive Wood Chopping, though with it installed, together with multiple other mods including wildcraft trees, i can't seem to make firewood at all.
Mendall These were blocks from 3.x.x version of Vanilla Variants , recipe patcher has nothing to do with this
Update: after installing this and entering world. I found ? Blocks on my wall and one on the floor. I figured out they were shelves and panning thing (both made of birch) and I remembered those were the exact two things that the recipe had not worked. I broke the ? Blocks and remade the items and this time the recipe worked. I am not sure what that means, unless which ever mod was causing the problem had already used your library to fix the problem. So thanks you fixed it any way.
DanaCraluminum holy cow that was fascinating, mind you I understood maybe half of it.
But I understood enough to make me go ahead and install this in case one of my 87 mods chooses to use it.
And since you made it. And you made a good third of the mods I use. I'm thinking it might be a good add.
Mendall Dr_Cummies Buggi
You can now read documentation for this library
Thanks DanaCraluminum if I find them again ill start a list. But I have forgotten what they were. But truth tell, just using creative and ditching the mats in probably less effort than making a mod to fix it.
You have created plenty as is.
Mendall It does nothing if there are no custom patches in certain folder.
What modded recipes don't work? I could make a mod that use this library to try to fix them
In 1.19 I have found certain modded recipes that just don't work, so I wind up just tossing out the mats and going too creative to get the item. Is that the kind of thing this fixes. I am trying to understand what this does. Oddly, the GIF of a critter smashing a road marker didn't help as much as you would think it would :)
ah ok thanks
Dr_Cummies It needs custom patches in certain folder, yes it is savegame friendly
Hey does this run on its own or does it require a command? is it savegame friendly? just started using it but havent noticed anything different. Thank you.
My concern isn't for your patcher, which I assume is nice and efficient. My concern is the eventual time down the road when there are 65,000 block types in the game and it takes 5 minutes to verify a grid recipe.
Tyron is a gifted programmer though, no doubt he has ideas on how to make this a non-issue.
Buggi It should write in the log how long it took to patch all recipes
Queue the recipe lag on servers with 40,000 variants of everything! \o/
I wonder if it would help performance in this situation to use LINQ to reduce the number of items iterated through when a recipe calls it's Resolve() function, because right now, it iterates through every. single. item. every. time.
Anyone have any hard numbers comparing directly the foreach on a List<> and a call to List.Where()?
Buggi You will understand why I wrote this thing once I release Vanilla Variants 5.0.0.
It does exactly what I need in just 200 recipe patches, also json patches don't support mulitple conditions
I don't understand the purpose of this mod, you can already patch recipes using JSON patching mechanics.