#How come this is replacing inputs in recipes I blacklisted?

12 messages · Page 1 of 1 (latest)

reef latch
#

It's replacing the inputs for both Blocks of Raw Uranium and crafting Uranium Shards, even though they should be blacklisted.

Anyone know why it's not working like i want it too?

    e.replaceInput(
      { input: "alexscaves:uranium", not: {id :"alexscaves:block_of_uranium", id: "alexscaves:uranium_shard_from_uranium", id: "biggerreactors:crafting/raw_uranium_block"} },
        "alexscaves:uranium",
        "#forge:ingots/uranium"
    )

// Tried making it an array and that didn't work either
    e.replaceInput(
      { input: "alexscaves:uranium", not: {id :"alexscaves:block_of_uranium", id: "alexscaves:uranium_shard_from_uranium", id: "biggerreactors:crafting/raw_uranium_block"} },
        ["alexscaves:uranium", "#forge:raw_materials/uranium"],
        "#forge:ingots/uranium"
    )
red helmBOT
#

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

vagrant grail
#

because you only blacklisted one

#

an object cannot have multiple of the same keys

#

so if you have 3 id, only the last one will count

reef latch
#

damn.

#

is there no way to blacklist multiple things at once?

#

i have that for slimeballs and it works

    e.replaceInput(
      { input: "slime_ball",  not: {id: "minecraft:slime_block", id: "minecraft:magma_cream"} },
        "slime_ball",
        "#forge:slimeballs"
    )```
vagrant grail
#

you use a list instead of an object

#

not: {} -> not: []

reef latch
#

alright.