removed temperature dependence of algae

This commit is contained in:
octarine-noise
2014-08-20 13:02:31 +02:00
parent 856daacd58
commit 03766727fd

View File

@@ -34,7 +34,6 @@ public class RenderBlockBetterAlgae extends RenderBlockAOBase implements IRender
if (!(Config.dirt.matchesID(block))) return false;
if (blockAccess.getBlock(x, y + 1, z).getMaterial() != Material.water) return false;
if (blockAccess.getBlock(x, y + 2, z).getMaterial() != Material.water) return false;
if (blockAccess.getBiomeGenForCoords(x, z).temperature < 0.4f) return false;
int terrainVariation = MathHelper.floor_double((noise.func_151605_a(x, z) + 1.0) * 32.0);
return terrainVariation < Config.algaePopulation;
}