I have been working on a skyblock plugin and have been doing fairly well thus far. However one of the biggest issues I have right now is that the islands sometimes spawn very close to each other. I set the island schematic at a random X and Z coordinate. I then save the XYZ coordinates in a personal player data.yml. What I want to do is create a for loop that will loop through all the data.yml files, get the X and Z coordinate thus checking if the new island that is about to be created is at least 400 blocks away from all the other X and Z coordinates. if it is, the island is placed, if not it will continue to try to find a spot until it eventually does find a spot. If anyone has an easier way of doing this, I'd love to hear it.