GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Recipies using programmed circuits don't work

Closed this issue ยท 6 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

7.0.2-SNAPSHOT+083c097
7.1.0-SNAPSHOT+1f5639d

Minecraft Version

1.21.1 NeoForge

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

No

Other Installed Mods

  • GregTech [7.1.0-SNAPSHOT+1f5639d] (gtceu-1.21.1-7.1.0-SNAPSHOT+20250729-010744-1f5639d.jar)

Expected Behavior

The machine should process the recipe.

Actual Behavior

It doesn't start.
Image

Steps to Reproduce

  • Put copper in a wiremill on circuit 1.

Additional Information

I have tried both ghost circuit and real circuit item, singleblock and multiblock machines. Recipes with other nonconsumable items like extruder molds still work.

Logs (there are some errors, not sure if related): https://mclo.gs/GXFMo7q

commented

Still present in 7.0.2 release.

commented

We hope it will be fixed soon

commented

Still present in the 7.1.0 snapshot from 5 hours ago. Also I was able to repro with just gtceum and no other mods. Here is the log, if it helps: https://mclo.gs/GXFMo7q

commented

Still present in 7.1.0-SNAPSHOT-03a3296.
It seems that all ingredents that are neither tag nor single item are unable to match any more. com.gregtechceu.gtceu.api.recipe.lookup.ingredient.MapIngredientTypeManager#getFrom only creates tag ingredient and single item ingredient from item stack, which means AbstractMapIngredient from programmed circuit item stack can never equal to AbstractMapIngredient from programmed circuit ingredient.

commented

I fix it by this

modEventBus.addListener((FMLCommonSetupEvent event) -> {
    event.enqueueWork(() -> {
        MapIngredientTypeManager.registerMapIngredient(IntCircuitIngredient.class, custom -> List.of(new ItemStackMapIngredient(GTItems.PROGRAMMED_CIRCUIT.asStack(), custom.toVanilla())));
    });
});
commented

Fixed in f51d89c snapshot