9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 02:29:14 +00:00

Revert "Revert "Decorate""

This reverts commit 9d2544f8cb.
This commit is contained in:
Daniel Mills
2020-08-03 23:24:09 -04:00
parent 9d2544f8cb
commit 58b00b6ed5

View File

@@ -212,7 +212,7 @@ public abstract class TerrainChunkGenerator extends ParallelChunkGenerator
decorateUnderwater(biome, sliver, wx, k, wz, rx, rz, block);
}
if((carvable && cavernSurface) || (k == Math.max(height, fluidHeight) && block.getMaterial().isSolid() && k < 255 && k > fluidHeight))
if((carvable && cavernSurface) || (k == Math.max(height, fluidHeight) && block.getMaterial().isSolid() && k < 255 && k >= fluidHeight))
{
decorateLand(biome, sliver, wx, k, wz, rx, rz, block);
}
@@ -309,7 +309,7 @@ public abstract class TerrainChunkGenerator extends ParallelChunkGenerator
for(IrisBiomeDecorator i : biome.getDecorators())
{
if(i.getPartOf().equals(DecorationPart.SHORE_LINE) && !touchesSea(rx, rz))
if(i.getPartOf().equals(DecorationPart.SHORE_LINE) && (!touchesSea(rx, rz) || k != getFluidHeight()))
{
continue;
}