Howdy! Big fan of VS and everything that's going on in the modding community to the point that I am dipping my toes in to see what's up.
I have found an outdated mod that I want to update so it works with 1.21, maybe even learn enough to futureproof it, who knows? But I'm definitely struggling.
The mod in question is: https://mods.vintagestory.at/hangingbaskets
What seems to be the trouble is with the constructor that makes the final hanging basket product. It seems related to the grid recipe, but I am not familiar enough with how all of these files interact with each other to know what might be at fault. Further, is there some kind of major change documentation that could point out differences going from 1.19 to 1.21? Apologies if this is buried in the tutorials somewhere and I'm too impatient to find them, I also just generally wanted to say hi and join the fun!
The bit of code throwing all of my errors:
[
{
"ingredientPattern": "R,P",
"height": 2,
"width": 1,
"ingredients": {
"P": { "type": "block", "code": "game:flowerpot-*", "name": "kind" }, #### <- my initial impression is that this changed during a version update so it breaks the constructor
"R": { "type": "item", "code": "game:rope" }
},
"output": {
"type": "block",
"code": "hangingflowerpot-{kind}"
},
"copyAttributesFrom": "P"
},
{
"ingredientPattern": "P",
"height": 1,
"width": 1,
"ingredients": {
"P": {
"type": "block",
"code": "hangingflowerpot-*",
"name": "kind",
"returnedStack": { "type": "item", "code": "game:rope" }
}
},
"output": {
"type": "block",
"code": "game:flowerpot-{kind}"
},
"copyAttributesFrom": "P"
}
]