Jump to content

Recommended Posts

Posted

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.

Posted
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. 👍

Posted

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?

  • Like 1
Posted
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).

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.