Maldrak Posted December 3, 2024 Report Posted December 3, 2024 I am trying to use the dry red currant mash in a barrel recipe, and it throws the error Failed resolving crafting recipe ingredient with code game:pressedmash-redcurrant-dry in barrel recipe. Full code of the recipe is { "code": "dye-red", "sealHours": 8, "ingredients": [ { "type": "item", "code": "game:waterportion", "litres": 1 }, { "type": "item", "code": "game:pressedmash-redcurrant-dry", "quantity": 1 } ], "output": { "type": "item", "code": "game:dye-red", "litres": 1 } } Any idea what I missed this time? Worked perfectly fine when I was using the red currants, but I want another use for the dry mash.
Brady_The Posted December 3, 2024 Report Posted December 3, 2024 9 hours ago, Maldrak said: I am trying to use the dry red currant mash in a barrel recipe, and it throws the error Failed resolving crafting recipe ingredient with code game:pressedmash-redcurrant-dry in barrel recipe. Full code of the recipe is { "code": "dye-red", "sealHours": 8, "ingredients": [ { "type": "item", "code": "game:waterportion", "litres": 1 }, { "type": "item", "code": "game:pressedmash-redcurrant-dry", "quantity": 1 } ], "output": { "type": "item", "code": "game:dye-red", "litres": 1 } } Any idea what I missed this time? Worked perfectly fine when I was using the red currants, but I want another use for the dry mash. Lose the "-dry" and you are good.
Maldrak Posted December 3, 2024 Author Report Posted December 3, 2024 Thanks for the assist. It does work, but also allows the wet which I was hoping to not allow, but it will work for my means. For future attempts, I got the -dry from the en lang file. Should I not use that for item names? Is there somewhere better? 1
Brady_The Posted December 3, 2024 Report Posted December 3, 2024 3 hours ago, Maldrak said: Should I not use that for item names? Is there somewhere better? Existing strings in the language files don't necessarily point towards an existing or working block/item in-game. Might be a left-over, a future-proof, or simply generated. There are two ways I use to look up a code. Either via Creative Inventory or the games files (made much easier with a search utility like Everything).
Recommended Posts