Crafttweaker Recipe Maker uses incorrect sizes; Messes with JEI
04Slash opened this issue ยท 0 comments
Describe the bug
When you make a recipe in both the Advanced and Elite crafting tables, then use the Recipe Maker to create a CraftTweaker script, it will make the recipe in an incorrect size. The Advanced crafting table is a 5x5 crafting grid, but the recipe that's output is 4x6 (4 items, 6 rows). The Elite has the same issue; The output recipe for the 7x7 grid is 6x8. This makes the recipe show up oddly, and sometimes not even show up at all.
To Reproduce
- Place items in either the Advanced or Elite crafting tables.
- Grab the Recipe Maker (CT) and ensure it's set to shaped.
- Make a recipe with the Recipe Maker (CT) then paste it into a .zs file
- Add any output to the recipe.
- Refresh the recipes by exiting to main menu and logging back in. I have also confirmed a full restart does not fix the issue.
- Observe recipe in JEI.
As an extra step to 4, also change the crafting table recipe to the respective values (2 for Advanced, 3 for Elite)
Expected behavior
I expect the items to look exactly as they do in the crafting tables. To achieve this, the recipe outputs must be changed to fit the proper crafting table. So instead of getting a recipe output that is 4x6, it should be 5x5, for the Advanced Crafting table. For the Elite it should be 7x7 instead of 6x8. I have confirmed that manually making the proposed changes fixes both instances; However, 4x6 = 24 and 5x5 = 25, so one more air slot (in my case) must be added to ensure the recipe doesn't error.
Screenshots / Scripts / Logs
Here is the script in question; Default crafting table set (0)
Here is pictures of said issue. This happens if I use the default scripts (so table set to 0)
This is what happens if I set the tables appropriately. When the tables are set appropriately the recipe will appear blank at first. When you leave the JEI GUI and press "R" on the item again it will no longer show these tabs. If there is no other recipes then pressing "R" will do nothing.
This is the script with the proposed changes made.
Latest.log - Errors shown at bottom. I made chat messages to show what I was doing at the time. These errors appeared after setting the table specific table recipes then checking the recipe in JEI.
Crafttweaker.log - Nothing of interest. No errors.
Versions:
- Minecraft: 1.16.1
- Forge: Forge-32.0.108
- Cucumber: Cucumber-1.16.1-4.0.1.jar
- Extended Crafting: ExtendedCrafting-1.16.1-3.0.0.jar
- CraftTweaker: CraftTweaker-1.16.1-7.0.0.23.jar
Thank you for your contributions to the Modded Minecraft community. <3 Your hard work is appreciated.