GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
291 stars 172 forks source link

ME Pattern Buffer doesn't work correctly with Parallel Control Hatches #2063

Open DmitryScaletta opened 1 month ago

DmitryScaletta commented 1 month ago

Checked for existing issues

Tested latest version

GregTech CEu Version

gtceu-1.20.1-1.4.5-build_1151-SNAPSHOT

Minecraft Version

1.20.1

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

ATM9

Expected Behavior

ME Pattern Buffer works correctly with Parallel Control Hatches

Actual Behavior

ME Pattern Buffer doesn't work correctly with Parallel Control Hatches

Steps to Reproduce

Cannot reproduce this bug consistently. It sometimes happens when I do autocrafts.

Additional Information

I have Large Circuit Assembling Factory with ME Pattern Buffer, ME Output Bus and Parallel Control Hatch set to 4. Sometimes the recipes doesn't work and just stuck. Here is one example:

![2024-09-29_12 32 46](https://github.com/user-attachments/assets/ce71b15e-474d-49fc-94d3-c6e8bcd230f4) ![2024-09-29_12 33 00](https://github.com/user-attachments/assets/fc5502b3-ac80-49c7-8f3e-c7833bcc4171) ![2024-09-29_12 33 48](https://github.com/user-attachments/assets/36125dcc-6397-4f7c-9855-2ef77ad6b585) ![2024-09-29_12 40 22](https://github.com/user-attachments/assets/a0e288de-2b1d-442a-82d4-5ad1572ba784)

After I set Parallel Control Hatch to 1 the crafts continued but after that it stuck again. There was no liquid tin left for the last recipe for some reason.

![2024-09-29_12 42 27](https://github.com/user-attachments/assets/6f4d03df-85af-431d-94c5-8ea32378a449) ![2024-09-29_12 42 16](https://github.com/user-attachments/assets/52b77d4b-4fc5-48f8-bb81-4cd0fe74b4f3)

I'm sure that all recipes are correct because they worked fine before I installed ME Pattern Buffer.

The same bug happened with the cutter multiblock so I don't think it's because of the recipe conflicts. I encoded patterns to send lubricant alongside the item instead of separate supply with another input hatch.

I think there are two bugs with ME Pattern Buffer:

  1. Sometimes they don't work at all with Parallel Control Hatches
  2. Sometimes there is something wrong with the liquid amount that they send or it just voided

UPD. Same bug just happened to me again with IV input hatch and IV input bus instead of ME Pattern Buffer.

UPD2. Another example where the cutter with ME Pattern Buffer stopped working because of incorrect amount of liquids. Maybe it's AE2 issue, I don't know.

![2024-09-30_08 16 19](https://github.com/user-attachments/assets/693aa8a0-03c8-4e51-8722-bf9d140faa5a) ![2024-09-30_08 16 35](https://github.com/user-attachments/assets/cf2bad27-7ace-4149-bd5e-ee50c2b630a6)