mojira.dev
MCPE-2804

Fire does not ignite tnt

Using lava to create fire, then allowing the fire to spread to tnt, the tnt will just burn, rather than explode.

Linked issues

Comments 10

Actually just flint and steel is used to ignite tnt

@Patrick You cannot obtain flint and steel in creative, rendering tnt useless

Confirmed Android 0.7.1, Asus Nexus 7, Android 4.2.2, and made a patch that fixes it for Android. It's available on my mod thread.

The source of the bug is embarrassingly simple: Mojang typed a 0 instead of a 1.

They based the fire behaviour on Minecraft 1.5, which had the line of code

Block.TNT.postBreak(world, i, j, k, 0);

However, TNT was ported from a later Desktop release, which meant that the line of code was supposed to be

Block.TNT.postBreak(world, i, j, k, 1);

(method names are from Bukkit on the desktop edition)

The relevant function is in FireTile::checkBurn.

Mojang fail level: 0... I mean 1.

Confirmed in 0.7.0.

Confirmed in 0.7.2 (Android from Google Play, same Nexus 7 as before)

In the past versions, they fixed TNT from igniting by fire, so this is the reason. To Make this work is to install BlockLauncher and the TNT bug mod so fire primes it.

Now you can close or whatever you want to do. But it is solved, so somebody who can, close the topic.

Confirmed in 0.7.3, 0.7.4, and 0.7.5.

Confirmed in 0.7.6.

Ryan Terry

(Unassigned)

Unconfirmed

Tablet - iOS - iPad

0.7.0, 0.7.1

0.8.0 beta build 2

Retrieved