[MC 1.15.2] CraftTweaker doesn't remove recipes from this mod
mosharky opened this issue · 3 comments
Describe the bug
CraftTweaker; latest version, doesn't remove recipes from this mod. I've tried the exact same code on other mods.
Screenshots
These are the zenscript lines
Here's what the Rare backpack looks like in-game, when it's supposed to remove the original recipe.
Here's the common backpack, able to display the information line I gave in the last line of code, but not remove its recipe.
CraftTweaker version 6.0.0.10
Mod version version 1.4.5
Forge version version 31.1.34
so, removeByName, takes a recipe name, not an item name.
you can see recipe names by turning on advanced tooltips with F3+H, and hovering over the output item in JEI while viewing a recipe.
so change
craftingTable.removeByName("simplybackpacks:commonbackpack"); craftingTable.removeByName("simplybackpacks:uncommonbackpack"); craftingTable.removeByName("simplybackpacks:rarebackpack"); craftingTable.removeByName("simplybackpacks:epicbackpack");
to
craftingTable.removeByName("simplybackpacks:common"); craftingTable.removeByName("simplybackpacks:uncommon"); craftingTable.removeByName("simplybackpacks:rare"); craftingTable.removeByName("simplybackpacks:epic");
TL;DR Item Name != Recipe Name