{
return structureStart;
}
// No structure found, create one
Random random = RandomHelper.getRandomForCoords(chunkX ^ 2, (chunkZ + 1) * 2, world.getSeed());
CustomStructureGen structureGen = world.getBiome(chunkX * 16 + 15, chunkZ * 16 + 15).getBiomeConfig().structureGen;
if (structureGen != null)
{
CustomObjectCoordinate customObject = structureGen.getRandomObjectCoordinate(random, chunkX, chunkZ);
if (customObject != null)
{
structureStart = new CustomObjectStructure(world, customObject);
structureCache.put(coord, structureStart);
return structureStart;