Ceiling rules

This commit is contained in:
paulevsGitch 2021-12-04 12:00:31 +03:00
parent 3a06c128ed
commit 9609db9f9b
2 changed files with 18 additions and 1 deletions

View file

@ -63,7 +63,8 @@ public class BCLib implements ModInitializer {
.filler(Blocks.STONE.defaultBlockState())
.subsurface(Blocks.DIRT.defaultBlockState(), 3)
.surface(Blocks.GRASS_BLOCK.defaultBlockState())
.ceil(Blocks.DEEPSLATE.defaultBlockState())
.aboveCeil(Blocks.DEEPSLATE.defaultBlockState(), 4)
.ceil(Blocks.BASALT.defaultBlockState())
.build();
BiomeAPI.addSurfaceRule(Biomes.END_HIGHLANDS.location(), rule);
}