Mantle.caverns(): where the mantle carved voids for a chunk to take over, read-only like the planned blocks

This commit is contained in:
piexel committed 2026-10-10 18:05:50 +02:00
1 parent d2d746734f
commit f3d1ff8d13
5 files changed
+55

No files matched your search

@@ -36,6 +36,11 @@ final class ReadOnlyMantle implements Mantle {
return new ReadOnlyLayer<>(mantle.blocks());
}
@Override
public MantleLayer<Boolean> caverns() {
return new ReadOnlyLayer<>(mantle.caverns());
}
@Override
public MantleEdit edit() {
throw new UnsupportedOperationException(READ_ONLY);