GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Custom machines that require CWU/t for crafting have several ticks of downtime between recipes

EnsignEvident 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

7.2.0 LATEST SNAPSHOT

Minecraft Version

1.20.1 Forge

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

Sky of Grind

Expected Behavior

Recipes in custom machines that require CWU/t transition smoothly between recipes

Actual Behavior

Despite having plenty of CWU, materials, and power, the machine has several ticks of idling in between ending one recipe and starting the second.

Steps to Reproduce

Make custom machine that needs to run multiple recipes in series.
provide CWU/t
watch it stutter.

Additional Information

https://youtu.be/g1i0vP6z3Xg here is a custom multi from SoG that is a fusion that requires CWU/t. Removing the CWU requirements does have it function like a normal fusion. This recipe should be (and is) one tick but the downtime makes it take 7~8 ticks. here is the code for the recipe in KJS:

`.stationResearch(b => b.researchStack(Item.of('gtceu:uv_fusion_reactor')).EUt(GTValues.VA[GTValues.UEV]).CWUt(256)) //
.duration(1000)
.EUt(GTValues.VA[GTValues.UEV])

sog.recipes.gtceu.fusion_reactor('crystal_matrix')
        .inputFluids('gtceu:diamond 288', 'gtceu:radon 144')
        .outputFluids('gtceu:crystal_matrix 144')
        .fusionStartEU(630000000)
        .EUt((GTValues.VA[GTValues.UEV]))
        .totalCWU(64*5)
        .CWUt(64)`