Pyrotech

Pyrotech

897k Downloads

Bellows cause fuel burn time to become offset from recipe duration

RedHerring26 opened this issue ยท 1 comments

commented

Issue Description

Using the bellows with a stone kiln (and stone oven) causes a slight discrepancy between fuel burn time and recipe duration.

What Happens

I have my installation of pyrotech configured so that the amount of time it takes for ores to be smelted in the kiln (using crafttweaker to create recipes, set durations, etc.) exactly matches the burn time of two pieces of coal.

When using the kiln without bellows, this works as expected: The recipe finishes at the exact same time that fuel runs out.

However, if I use the bellows, the recipe time and burn time will desync slightly from one another by varying amounts and in either direction.

If I use exactly two coal (with my configuration options) while using the bellows, much of the time the fuel will run out while the recipe still has one or sometimes two seconds remaining.

What You Expect to Happen

I would expect the recipe duration and burn time to remain synchronized.

Script

N/A

Crash Log

N/A

Affected Versions

  • Minecraft: 1.12.2
  • Forge: 14.23.5.2854
  • CraftTweaker: 1.12-4.1.20.614
  • Dropt: 1.12.2-1.18.0
  • Pyrotech: 1.12.2-1.5.6
  • Athenaeum: 1.12.2-1.19.2
commented

It's likely due to the accumulation of many, many floating point rounding errors. It wasn't designed with the goal of precision.