The bug
TNT blocks that are ignited at high coordinates create a TNT entity with an offset. Depending on the parity of the coordinates the TNT entity spawns approximately half a block to the right or half a block to the left of the original location.
How to reproduce
Teleport to high coordinates (in certain cases this may lead to MC-92916)
/teleport 29999983 ~ 29999983
Place a TNT block and ignite it, for example with flint and steel
→ ❌ The TNT entity is created with an offset
You can also verify that this is not a visual glitch by summoning entities at the positions of the TNT entities
/execute at @e[type=tnt] run summon armor_stand ~ ~ ~ {NoGravity:1b,Invulnerable:1b}
Linked issues
is duplicated by 1
relates to 1
Comments 16


Caused by float rounding error.
Confirmed for 1.13.1.

Affects 18w47b

Affects 18w49a. Can I request ownership of this ticket?

Affects 19w37a

Affects 19w38b

Affects 19w39a

Affects 19w40a

This affects both manually lit TNT and TNT primed by other explosions. The causes of both of these seem to be in different parts of the code.
Affects 1.13-pre1