
Chance-based recipe outputs should not be included when creating recipes from JEI
uhloin opened this issue ยท 1 comments
Issue type:
- ๐ Bug
Short description:
Setting Logic Programmer from JEI for receipt with chances is invalid and lead to crafting deadlock.
Steps to reproduce the problem:
- Create a network like on the screenshot to craft redstone from redstone ore with Mechanical Squeezer.
- There is a receipt with 12 redstones with 100% chance and +2 redstones with 50% chance.
Use Logic Programmer, select Recipe category, select Redstone in JEI panel, select Mechanical Squeezer, select mentioned recipe.
-- Bug: there is no way to specify 50% chance for 2 redstones
3 Insert a Card to the Logic Programmer.
- Insert the Card to Crafting Interface above the Squeezer.
-- Bug: in Storage Terminal we can see 2 recepits: for 12 and 2 redstone instead of 1 receipt.
-- Bug: if start a job (for 12 or for 2) and chance doesn't proc to 14 redstones then we can see in Job Terminal a deadlocked Job for rest 1-2 redstones.
Expected behaviour:
Receipts with items with non-100% chances should set output numbers for the worst case and only one receipt in Storage Terminal.
Versions:
- This mod: 1.1.13-269
- Minecraft: 1.21.1
- Mod loader version: NeoForge 21.1.95
Full list of mods:
commoncapabilities-1.21.1-neoforge-2.9.7-195.jar
cyclopscore-1.21.1-neoforge-1.25.5-702.jar
integratedcrafting-1.21.1-neoforge-1.1.13-269.jar
integrateddynamics-1.21.1-neoforge-1.25.2-1061.jar
integratedscripting-1.21.1-neoforge-1.0.14-229.jar
integratedterminals-1.21.1-neoforge-1.6.7-453.jar
integratedtunnels-1.21.1-neoforge-1.8.32-360.jar
jei-1.21.1-neoforge-19.21.0.247.jar