Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected boolean carveBlock(CarvingContext carvingContext, CaveCarverConfiguration caveCarverConfiguration, ChunkAccess chunkAccess, Function<BlockPos, Holder<Biome>> holderBiome, CarvingMask carvingMask, BlockPos.MutableBlockPos mutableBlockPos, BlockPos.MutableBlockPos mutableBlockPos2, Aquifer aquifer, MutableBoolean mutableBoolean) {
- BlockState blockstate;
- blockstate = CAVE_AIR;
- chunkAccess.setBlockState(mutableBlockPos, blockstate, false);
- mutableBlockPos2.setWithOffset(mutableBlockPos, Direction.DOWN);
- if (chunkAccess.getBlockState(mutableBlockPos2).is(MFBlocks.CLOUD.get())) {
- blockstate = STONE;
- mutableBlockPos.setWithOffset(mutableBlockPos, Direction.DOWN);
- chunkAccess.setBlockState(mutableBlockPos, blockstate, false);
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement