Embers Rekindled

Embers Rekindled

12M Downloads

Problem to add recipes to Mixing centrifuge 1.20.1

ComeBelin opened this issue · 1 comments

commented

I would like to add a recipe with the centrifugal mixing in 1.20.1 through the modification of recipes kubejs

{
  "type": "embers:mixing",
  "inputs": [
    {
      "amount": 2,
      "tag": "forge:molten_copper"
    },
    {
      "amount": 2,
      "fluid": "create_wt:molten_zinc"
    }
  ],
  "output": {
    "amount": 4,
    "fluid": "create_wt:molten_brass"
  }
}

or through recipes in kubejs.

ServerEvents.recipes(event => {
    event.custom({
        type: 'embers:mixing',
        inputs: [
            {
                "amount": 2,
                "tag": "forge:molten_copper"
            },
            {
                "amount": 2,
                "fluid": "create_wt:molten_zinc"
            }
        ],
        result: { "fluid": 'embers:molten_dawnstone', "amount": 4 },
    })
})
```js

but it doesn’t work 
commented

When using an untagged fluid as an ingredient in a recipe you should use "name" for the fluid name, not "fluid". See the dwarven oil mixing recipe for an example: https://github.com/RCXcrafter/EmbersRekindled/blob/rekindled/src/generated/resources/data/embers/recipes/mixing/dwarven_oil_steam.json