Mojira Archive
MC-2490

TNT animation ends at 80 ticks, ignores fuse length changes

Summon a Primed TNT using

/summon tnt ~ ~ ~ {Fuse:127}

As the fuse is set to 127, the Primed TNT will explode after 127 ticks. This is as expected.
However the client isn't informed of this change and will show the TNT animation exploding at the normal 80 ticks. This also removes the TNT entity from the client side.

/data merge entity @e[type=tnt,limit=1] {Fuse:127}

works on the invisible TNT to extend the fuse, but will not render it back as the client has already deleted the entity.

TL;DR Server doesn't inform client of fuse length changes, TNT animation will always end at 80 ticks.


To reproduce in 16w21b, simply summoning a TNT with Fuse:127b won't work. You must continuously use /entitydata to stop the Fuse value from reaching zero.
Example: run this in a repeating command block:

/data merge entity @e[type=tnt,limit=1] {Fuse:127}

Code analysis by Marcono1234 can be found in this comment.