#Problem with using custom Kubejs fluids in an Embers Rekindled recipe

27 messages · Page 1 of 1 (latest)

ember karma
#

I made two fluids using Kubejs, molten zinc and molten brass, with the intention of using some Embers Rekindled machines to produce/manipulate them. I was able to add them to recipes as outputs, but it seems whenever I try to include them as an input in Embers the recipe doesn't function. The two examples I have are making molten brass in the Embers mixer centrifuge and making brass ingots in the Embers stamper. A partial recipe shows up in JEI for the stamping recipe, missing the fluid.

A functioning stamping recipe from Embers and my brass recipe should be attached.

    "type": "embers:mixing",
    "conditions": [
      {
        "type": "forge:not",
        "value": {
          "type": "forge:tag_empty",
          "tag": "forge:ingots/brass"
        }
      }
    ],
    "inputs": [
      {
        "amount": 2,
        "tag": "forge:molten_copper"
      },
      {
        "amount": 2,
        "tag": "kubejs:molten_zinc"
      }
    ],
    "output": {
      "amount": 4,
      "fluid": "kubejs:molten_brass"
    }

  }) ```

``` event.custom({
    "type": "embers:stamping",
    "conditions": [
      {
        "type": "forge:not",
        "value": {
          "type": "forge:tag_empty",
          "tag": "forge:ingots/brass"
        }
      }
    ],
    "fluid": {
      "amount": 90,
      "tag": "kubejs:molten_brass"
    },
    "output": {
      "tag": "forge:ingots/brass"
    },
    "stamp": {
      "item": "embers:ingot_stamp"
    }

  }) ```

Any help is greatly appreciated!
tranquil crystalBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

copper plinth
#

the stamper recipe doesn't work because it's trying to look for the tag kubejs:molten_brass, not the fluid

#

in the mixer recipe, you can see that the fluid output is using the fluid key instead of the tag key

#

you could also fix it by adding your molten brass fluid to an appropriate tag, probably forge:molten_brass, and using such tag in the recipe

ember karma
#

I did add kubejs:molten_brass to the forge tag, but I realized I wasn't doing it as a fluid there, I believe I did it correctly now, but the recipe still isn't working.

  event.add('forge:molten_brass', 'kubejs:molten_brass')
  event.add('forge:molten_zinc', 'kubejs:molten_zinc')
})```
#

I did fix the stamper though!

copper plinth
#

alright, i wasn't sure if the mixer recipe was also not working, seemed a bit ambiguous there to me

#

but that looks correct

#

unless it is actually working

ember karma
#

The stamper recipe is working now, but the mixer still isn't, sorry for the confusion

copper plinth
#

does it simply not appear in JEI at all?

#

maybe the log has some info

ember karma
#

Yeah, not at all. Not even incomplete

#

Lemme get the log

#

This is the relevant part of the log I believe

#

[17:26:21] [WARN] Error parsing recipe embers:kjs/60fz5vcwjxkg5n6zo512n6e4q[embers:mixing]: {"type":"embers:mixing","conditions":[{"type":"forge:not","value":{"type":"forge:tag_empty","tag":"forge:ingots/brass"}}],"inputs":[{"amount":2,"tag":"forge:molten_copper"},{"amount":2,"tag":"forge:molten_zinc"}],"output":{"amount":4,"fluid":"forge:molten_brass"}}: Unknown fluid forge:molten_brass

copper plinth
#

well that explains it

#

you gave it the opposite of the stamping recipe's original problem

ember karma
#

Can you be more explicit about it? I'm pretty new to moding minecraft

copper plinth
#

"fluid":"forge:molten_brass"
it's trying to call the fluid forge:molten_brass

#

which almost certainly does not exist

#

i don't know if a tag will work as the output, so just change the forge there to kubejs and it should use your molten brass fluid instead

ember karma
#

Current code with I believe the fixes you've suggested:

    "type": "embers:mixing",
    "conditions": [
      {
        "type": "forge:not",
        "value": {
          "type": "forge:tag_empty",
          "tag": "forge:ingots/brass"
        }
      }
    ],
    "inputs": [
      {
        "amount": 2,
        "tag": "forge:molten_copper"
      },
      {
        "amount": 2,
        "tag": "kubejs:molten_zinc"
      }
    ],
    "output": {
      "amount": 4,
      "fluid": "kubejs:molten_brass"
    }

  })```
#

And there are no errors in the logs for the recipe, but it still isnt showing up/working

#

Nvm! I got it to work, had to change the zinc to forge for the input!

#

Thank you so much for your help, I really appreciate it, have a great day/night!