Chopping Board Part 2
Fortist opened this issue ยท 8 comments
So, I have NoTreePunching a mod that uses saws (which extends itemAxe, I assume) to craft planks from logs in the crafting table.
However, with Cuisine added, it would create a chopping board with the saw above log recipe.
I had a problem where I tried to disable the chopping board recipe with crafttweaker only for it to not work as intended, even using all the nbt data/tag data/whatever.
recipes.remove(<cuisine:chopping_board>);
recipes.remove(<cuisine:chopping_board>.withTag({BlockEntityTag: {cover: {id: "minecraft:log", Count: 1 as byte, Damage: 0 as short}}}));
So I took a drastic measure and just deleted the recipe json in the jar itself to 'fix' the recipe conflict, It works in the way that I can now make planks with saw in the crafting table, but due to some underlying code the axe+log recipe still shows up, despite it not actually working.
On another side, there doesnt need to be a chopping board per log, and I have a mod that adds a log that is "white" in texture but changes colors due to NBT or whatever and they all show up as white chopping boards. A little more control over what becomes a chopping board would be nice.
- In fact, the only reliable way to remove a recipe is to remove it by its recipe ID. Either remove by input or output is practically unreliable. Also it is strongly discouraged to tamper the jar - it makes impossible for us to make sure that the jar is indeed from us.
See CraftTweaker Documentation for details aboutrecipes.removeByRecipeName
.
// This is guaranteed working.
recipes.removeByRecipeName("cuisine:chopping_board");
- That issue of JEI displaying ghost recipe will be investigated.
- Which mod is that colored log come from anyway? I would assume it is something wrong on Cuisine's side, but I need to know the details.
- As for "a little more control over what becomes a chopping board" - this will be considered.
The mod in question is "Natural Pledge." The Iridescent Logs, to be exact. Also, I have no idea what that means, Snow.
But to show you what I mean, this is just the two mods together, no crafttweaking.
I know what Im doing when I mess with .jar files. Especially anything under assets.
But to your credit, using the recipe name in crafttweaker worked, however the ghost recipes still show up.
Iridescent Logs
Will investigate
however the ghost recipes still show up
Already addressed by 10de85a one week ago
I think what your problems are:
- Chopping board recipe can not be removed (actually can)
1.1. Chopping board recipe still being shown in JEI after removing (fixed in dev) - Cannot make planks if there is a recipe conflict. (yes it is conflict but you can still make planks)
@Fortist Fixed in dev
Also, the wood log in the inventory is the Rainbow Wood (which already works with Chopping Board).