codetaylor / pyrotech-1.12

An early game mod with new primitive devices, combustion machines, smelting mechanics, storage options, tools, torches, advancements, and absolutely zero GUIs -- with exception to the substantially complete, mostly illustrated, and charred guidebook.
https://pyrotech.readthedocs.io/en/latest/
Other
52 stars 19 forks source link

Endless fuel #356

Closed Origins-Eternity closed 3 years ago

Origins-Eternity commented 3 years ago

If I use wooden bucket as fuel, it will never run out or disappear in furnace. It can keep burning for ever! And I tried to change it's burning time through crafttweaker, but it didn't work. Look forward to solving this problem soon.

codetaylor commented 3 years ago

This is due to the way that furnaces and buckets are coded.

When the furnace uses up a stack of fuel, it checks to see if the item has a container, which buckets do. The container is then returned and placed back in the fuel slot. This is coded to allow things like using a bucket of lava as fuel. If the bucket has lava, it returns a burn time and when it expires, the bucket is destroyed, then replaced with the container item - an empty bucket.

If the bucket itself is burnable, it breaks down. The wooden bucket is burned, destroyed, then the container item - the wooden bucket - is placed back in the fuel slot and it just never ends.

codetaylor commented 3 years ago

The only solution that I can see right now is to stop allowing the wooden bucket to be used as fuel.

Origins-Eternity commented 3 years ago

The only solution that I can see right now is to stop allowing the wooden bucket to be used as fuel.

Well, thanks for your answer.