ArmorPlus

ArmorPlus

9M Downloads

Recipe of Workbench exists twice in Workbench, only one can be remove with TC integration

Dovahkill opened this issue ยท 7 comments

commented

Affected Versions::

  • Minecraft: 1.12.2
  • ArmorPlus: 11.28.0.96
  • TheDragonLib: 5.3.0
  • GeckoLib: NA
  • Forge: 14.23.5.2855
  • Just Enough Items (JEI): 4.16.1.301

Affected Side (Client or Server):

  • Client
  • Server

Describe the issue: The recipe for Workbench appear twice in JEI for Workbench and i can't remove both with crafttweaker integration. Only one recipe is remove.

My armor_plus.zs script:
recipes.remove(armorplus:workbench, false); // This work, the recipe is removed
mods.armorplus.Workbench.remove(armorplus:workbench); // This partially work, only one recipe is removed

Screenshot JEI recipes:
Without script
image

With script
image

Mod list: ArmorPlus, CrafTweaker, JEI.

commented

Hey there, thanks for the issue report.
1.12.2 is no longer supported, but could you confirm for me that you can indeed perform the recipe even after it has been removed ?
Also have you tried removing the recipe twice from the workbench as it has 2 recipes, one with normal materials and one with dictionary.

commented

Hello, thank you for your answer.
Yes, the recipe is working fine. It's not just JEI that displays the recipe while it is being deleted.
And yes, I tried to delete the recipe twice (putting the same line twice in the script) but nothing changes. The recipe still exists.
I don't have an error message in the log or in the game console.

commented

Could you try removing the recipe from all locations ? (Also disable recipes from the config)

commented

I found config.cfg -> global -> gameMode. I put this value to -1. Is that what you were thinking ?
If yes, it's nothing change. Unfortunately

commented

there should be multiple configs, such as jsonRecipes which removes all recipes all together and replaces them with vanilla crafting table recipes.

commented

No worries, glad to be of help. Hope you have fun! ^^

commented

Oh ! It's work !
You just had to put useJsonRecipes=true in addition to gameMode=-1
Sorry for the inconvenience and thank you for your help !