Debugify
Debugify copied to clipboard
MC-17738 Fix
https://bugs.mojang.com/browse/MC-177381 : Game does not count the distance properly if you locate a structure from more than 46340 blocks away
I fixed it using Math.hypot (I originally fixed this bug in my mod Sparse Structures, but thought it could fit in this mod too. This does not make the two mods incompatible, at least from my testing)