Description
About
A mc20.1 Forge mod that makes the Time in a Bottle tick-acceleration work correctly with GregTech Community Edition Modern machines.
The problem
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.
The fix
- Single-block GT machines running inside a TIAB field process recipes at the accelerated rate without starving for EU.
- Multiblocks and Cleanrooms (
CleanroomLogic) bypasses the normal recipe tick path. This just patches it separately so multiblocks also benefit correctly.
How the magic works
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.
Dependencies
| 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+ |
Credits
- Akoto090
- Lowtrixx (idea)
- JuiceyBeans, screret (GregTech Addon Template)
License
This mod is licensed under MIT

