Fix floating-point precision on Bedrock when at high coordinate (distance effect).
Added support for 1.21.9 (Java).