Chanced output cache can be exploited with parallel recipes
ineternet opened this issue ยท 1 comments
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
v1.4.0
Minecraft Version
1.20.1
Recipe Viewer Installed
None
Environment
Singleplayer
Cross-Mod Interaction
No
Other Installed Mods
Monifactory
Expected Behavior
A machine running in parallel should "run the recipe X times," and therefore make X separate rolls on chanced outputs.
If I process a total of 1000 items on a 10% output chance, I expect to get 100 items.
Actual Behavior
The cache is incremented every time a recipe runs, which counts parallel recipes as a single recipe. The amount of items being processed in total/over time is not considered. You get more value out of your inputs by figuring out the initial RNG and then adding the chances of recipes in your head, using a parallelized recipe right before the counter resets.
Steps to Reproduce
javaw_NCV5cFoeZk.mp4
Additional Information
No response
fixed in #1911