mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
Slabs can generate on ceiling in ocean
This commit is contained in:
@@ -25,7 +25,7 @@ java {
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
val versionObj = Version("2", "0", "1", true)
|
||||
val versionObj = Version("2", "1", "0", true)
|
||||
|
||||
version = versionObj
|
||||
|
||||
|
||||
@@ -197,6 +197,9 @@ public class TerraChunkGenerator extends GaeaChunkGenerator {
|
||||
}
|
||||
paletteLevel++;
|
||||
} else if(y <= sea) {
|
||||
if(justSet && c.doSlabs()) {
|
||||
prepareBlockPartCeiling(data, chunk.getBlockData(x, y, z), chunk, new Vector(x, y, z), c.getSlabPalettes(), c.getStairPalettes(), c.getSlabThreshold(), sampler);
|
||||
}
|
||||
justSet = false;
|
||||
chunk.setBlock(x, y, z, seaPalette.get(sea - y, x + xOrig, z + zOrig));
|
||||
paletteLevel = 0;
|
||||
|
||||
Reference in New Issue
Block a user