Fix mca gens

This commit is contained in:
Daniel Mills
2020-12-30 07:09:39 -05:00
parent f4eb0cfbcb
commit e926a08def
6 changed files with 254 additions and 124 deletions

View File

@@ -55,4 +55,9 @@ public class ChunkPosition
ChunkPosition other = (ChunkPosition) obj;
return x == other.x && z == other.z;
}
public double distance(ChunkPosition center)
{
return Math.pow(center.getX() - x, 2) + Math.pow(center.getZ() - z, 2);
}
}