// Can return null
public SaplingGen getSaplingGen(LocalWorld world, SaplingType type, int x, int z)
{
try
{
LocalBiome biome = world.getSavedBiome(x, z);
TerrainControl.log(LogMarker.INFO, "Biome: {}" + biome.getName());
return biome.getBiomeConfig().getSaplingGen(type);
} catch (BiomeNotFoundException e)
{
return null;
}
}