Tech Reborn

Tech Reborn

30M Downloads

Removing UUMatter recipes from craftingtable with crafttweaker isn't working.

Guinaro opened this issue ยท 3 comments

commented

I have tried to use the crafttweaker functionality recipes.removeShaped(, input[][]) on UUMatter recipes. But crafttweaker fails to remove those recipes.
See CraftTweaker/CraftTweaker#476
I'm guessing Tech Reborn registers this recipe in a different way or later, so that crafttweaker doesn't find it, or simply cannot remove it.

Guinaro

commented
commented

Short update.
I found a way to remove them based on name.
recipes.removeByRecipeName("techreborn:...);
Still it seems stranges that when providing the exact output as given by /ct recipes it doesn't work.
So currently low priority if fixable. Workaround gives intended result: removal of 1 recipe, still wondering why shaped doesn't work.

commented

That commit there should fix it.

Explanation:
The Ingredient.fromItem method creates a stack with the ore dict wildcard meta, so crafttweaker wont be detecting it. This should fix it.