A mc20.1 Forge mod that makes the Time in a Bottle tick-acceleration work correctly with GregTech Community Edition Modern machines.
Time in a Bottle accelerates blocks by calling serverTick() N times per game tick. GT machines consume EU on each tick call, but power cables only deliver EU once per real game tick. Machines stall after the first sub-tick even when you have plenty of power generation.
CleanroomLogic) bypasses the normal recipe tick path. This just patches it separately so multiblocks also benefit correctly.A Mixin on RecipeLogic.handleRecipeWorking() (and a separate one on CleanroomLogic.serverTick()) tracks level.gameTime. On the first call per game tick the normal EU consumption happens. On any subsequent calls within the same tick (TIAB extra ticks), EU draw is skipped but recipe progress still advances if and only if the natural tick had enough power.
| Dependency | Version |
|---|---|
| GregTech (CEu) Modern | 1.6.4 or 7.4.0+ |
| Time in a Bottle | 4.0.4+ |
| Kotlin for Forge | 4.12.0+ |
This mod is licensed under MIT