GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Assembler input bus/hatch and maintenance hatch recipes colflict

MatthiasMann opened this issue ยท 0 comments

commented

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

gtceu-1.20.1-1.4.0-build_1037-SNAPSHOT

Minecraft Version

1.20.1

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

based on Sky Greg

Expected Behavior

maintenance hatch and input bus/hatch can be safely automated

Actual Behavior

As both recipes use an LV machine hull and circuit 1, but the input bus/hatch require also additional items/fluids - if one of the ingredients is missing or the recipes resolve in a different order a maintenance hatch is build instead of an input bus/hatch.

Steps to Reproduce

  • LV assembling machine with circuit 1

  • insert LV machine hull

  • get out maintenance hatch

  • insert wooden crate, and enough glue or other rubber

  • insert LV machine hull last

  • get out an input bus

Additional Information

I did not notice that previously as some game starts had the maintenance hatch recipe not working - could be a race condition (or it was related to FastSuite which I since removed)?

input bus recipe:
https://github.com/GregTechCEu/GregTech-Modern/blob/1.20.1/src/main/java/com/gregtechceu/gtceu/data/recipe/misc/MetaTileEntityLoader.java#L921

maintenance hatch recipe:
https://github.com/GregTechCEu/GregTech-Modern/blob/1.20.1/src/main/java/com/gregtechceu/gtceu/data/recipe/misc/MetaTileEntityMachineRecipeLoader.java#L432