mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +00:00
Slabs can generate on ceiling in ocean
This commit is contained in:
1 parent
37c2d945ec
commit
554628c486
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ java {
|
|||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
|
||||||
val versionObj = Version("2", "0", "1", true)
|
val versionObj = Version("2", "1", "0", true)
|
||||||
|
|
||||||
version = versionObj
|
version = versionObj
|
||||||
|
|
||||||
|
|||||||
@@ -197,6 +197,9 @@ public class TerraChunkGenerator extends GaeaChunkGenerator {
|
|||||||
}
|
}
|
||||||
paletteLevel++;
|
paletteLevel++;
|
||||||
} else if(y <= sea) {
|
} 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;
|
justSet = false;
|
||||||
chunk.setBlock(x, y, z, seaPalette.get(sea - y, x + xOrig, z + zOrig));
|
chunk.setBlock(x, y, z, seaPalette.get(sea - y, x + xOrig, z + zOrig));
|
||||||
paletteLevel = 0;
|
paletteLevel = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user