ChunkPosition cp = ChunkPosition.get(cx, cz);
Chunk hoveredChunk = chunky.getWorld().getChunk(cp);
if (!hoveredChunk.isEmpty()) {
mapLabel.setText(String.format("%s, biome: %s",
""+hoveredChunk.toString(),
hoveredChunk.biomeAt(bx, bz)));
} else {
mapLabel.setText(hoveredChunk.toString());
}
return cp;
}