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 @unknown can be found in this comment.
Linked issues
is duplicated by 2
relates to 2
Comments 42
The client won't know about the fuse length being changed after being spawned - hence why it explodes at a different time. As this was done using bukkit, this is invalid as it cannot be repeated under vanilla circumstances.
How are you changing the fuse length?