Mekanism

Mekanism

111M Downloads

Crafttweker Combiner Remove does not work

Opened this issue ยท 6 comments

commented

Please use the search functionality before reporting an issue. Also, take a look at the closed issues!

Issue description:

I have been trying to remove the Combiner recipes for Draconic Ore and it won't let me

Steps to reproduce:

  1. I use this mods.mekanism.combiner.removeRecipe(minecraft:gravel, draconicevolution:draconium_dust, minecraft:cobblestone);
  2. need to have these removed as they are not needed

Version (make sure you are on the latest version before reporting):

**Forge:1.12.2 14.23.2.2654
**Mekanism: 1.12.2-9.4.3.330

javaw_2018-04-07_11-16-51

commented

javaw_2018-04-08_11-43-00

I did how u told me and this keeps happening @thommy101

commented

Will you share the crafttweaker script and log files please?

commented
commented

Hi,
I think you've changed the order of the arguments. The output goes first, followed by the upper and the lower item as last. With the first argument required, the last two optional.
See http://wiki.aidancbrady.com/wiki/Tutorials/CraftTweaker for more examples.

If this doesn't work, the crafttweaker script and log would help with finding the cause.

commented

Did some testing, the recipe removal does work. But it might look like there's a possibility someone is adding recipes way too late for Mekanism/crafttweaker to detect (or the recipe is also being added trough crafttweaker.

Tested script:
//OutputStack, InputStack, InputStack
mods.mekanism.combiner.removeRecipe(minecraft:gravel, minecraft:flint, minecraft:cobblestone);

Order of adding/removing does matter, we batch all removals and additions and execute it on post-init, with the removals being handled before the additions (so recipes can be overwritten).
I cant help you without more information on how the draconic evolution recipes are being added in the first place.

commented

Closing due to inactivity and no script supplied.

  • The draconium recipe is added by us before crafttweaker code runs
  • Your script likely needs the quantity; look at your screenshot, it takes 8 dust, you're telling it to look for a recipe with a single dust.