Revert "Revert "Decorate""

This reverts commit 9d2544f8cbebf344de30ff7f0584b20385d4cf75.
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;
}