[Mod Interaction] JsonThings vs CraftTweaker: Crafting duplicates items
PyroBurnem opened this issue ยท 6 comments
Do refer to this video.
The Issue
If CraftTweaker is installed and used to create a recipe with JsonThings custom items, the custom items duplicate. As a control group, I added a recipe that uses Dirt instead, an item not added by JsonThings. The recipe that uses Dirt did not duplicate the Dirt, whereas the recipe that uses the test item duplicated the test item. This is happening with fresh installs. I am not sure which mod is causing the issue, therefore I will open an issue in both mod's Githubs and link them to each other.
Mods used
CraftTweaker: 1.18.2-9.1.189
JsonThings: 1.18.2-0.4.1
Forge: 40.1.80
Steps to Reproduce
- Add a JsonThings thingpack with at least 1 custom item.
- Make a script that uses said item in the crafting input.
- Run MC and craft the recipe with at least 2 custom items per slot that uses the custom item as listed in the script.
- Click on the output to craft the item. The custom items are then duplicated.
Relevant Files
Hopefully the CT people know what's going on because I have no idea what the cause could be.
WAIT, I just saw the video, I completely misinterpreted what you meant.
This isn't an issue with the OUTUPT duplicating, but rather with the crafting table slots growing in size, in which case it's definitely my mod's fault.
EDIT: To clarify, I have to confirm, but it looks like I do something wrong with getCraftingRemainingItem.