#ad astra steel ingot recipe not being removed

10 messages · Page 1 of 1 (latest)

fathom kettle
#

i am trying to remove the steel ingot recipe from ad astra but it is not being removed

event.remove([{ type: "ad_astra:alloying", output: "ad_astra:steel_ingot"}])

the log file seemingly throws out no errors

modest lintelBOT
#

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

chilly kernel
#

You only want to remove the alloying or all recipe that give you this item ?

#
ServerEvents.recipes(event => {
event.remove([{ type: "ad_astra:alloying", output: "ad_astra:steel_ingot"}])

  console.log('Hello! The recipe event has fired!')
})```
#

Never use this but in the wiki they call ServerEvents.recipes

And sorry i'm on phone

harsh echo
#

you don't need the array brackets just try it like this:

ServerEvents.recipes((e) => {
  e.remove({output: "ad_astra:steel_ingot",  type: "ad_astra:alloying"})
})
fathom kettle
#

ad astra alloying type works for adding recipes

harsh echo
#

I have now tried a few options and the following works for me:

ServerEvents.recipes((e) => {
  e.remove({ id: "ad_astra:alloying/steel_ingot_from_alloying_iron_ingot_and_coals" })
})

but you can do too:

ServerEvents.recipes((e) => {
  e.remove({ type: "ad_astra:alloying" })
})

if no other mods add a alloying recipe for ad astra

fathom kettle