discovered while testing the fix to MC-125638.
Since the code that primes TNT from other explosions is different from the code that primes it from held items, TNT primed from other explosions is still subject to high coordinate precision loss in this case.
This is best tested when greater than 16,777,216 blocks out on both axes, so being 20 million blocks out should suffice. This issue is without a doubt due to incorrectly casting to a 32-bit float from an integer or double, resulting in numerical precision being lost. This can be fixed by simply not casting to a float, which eliminates any chance of losing any precision.
Related tickets: MC-182789
Attachments
Comments 0
No comments.