mojira.dev
MC-78796

"Fuel" tag for furnace minecarts overflows

The fuel tag has a maximum value of 32767. Since each piece of coal you power it with increases the fuel tag by 3600, giving it 10 or more coal will cause the tag to wrap around into the negatives and never decrease anymore, essentially giving it infinite fuel. If you then give it 9 more fuel, it will become positive again, simply wasting the last 20 coal you gave it.

Linked issues

Comments 5

Yes, but it means that is a player tries to use more than 9 coal, the minecart will go forever. That's obviously a bug. The tag should just have a limit, so any additional coal won't add to the time.

Relates to:

Confirmed for

  • 15w36c This may be working by design, but a design that needs to be fixed!

@unknown it won't be infinite. When it is negative it will count to -32768 and then jump to 32767. However when increasing the fuel while it is negative, it becomes positive which means that you than lost at least 32768 ticks of fuel

Should be trivial to check the current fuel value and not exceed the limit. It's reasonable for a player to attempt to load up a minecart with furnace with a supply of fuel (assuming that it's reasonable for anyone to use a minecart with furnace at all), and it's not difficult to exceed the limit.

@Marcono

It is infinite. It only counts down at positive values. I guess technically that's another bug, but it's not one that should ever be relevant.

KingSupernova

(Unassigned)

Unconfirmed

Minecraft 1.8.3, Minecraft 15w36c

Minecraft 15w45a

Retrieved