mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 09:15:27 +00:00
Drop Mantle.isCarved and MantleCaverns
The module mantles no longer answer isCarved, so MantleCaverns, which only served it, goes. Tests read the carved layer.
This commit is contained in:
1 parent
db4972b42a
commit
699ad3f6fe
5 files changed
+1
-100
No files matched your search
@@ -169,8 +169,6 @@ public class IrisModuleMantleTest {
|
||||
assertSame(CarvedVoid.LAVA, mantle.carved().get(6, 40, 5));
|
||||
assertSame(CarvedVoid.AIR, mantle.carved().get(7, 40, 5));
|
||||
assertNull(mantle.carved().get(8, 40, 5));
|
||||
assertTrue(mantle.isCarved(5, 40, 5));
|
||||
assertFalse(mantle.isCarved(8, 40, 5));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -203,7 +201,7 @@ public class IrisModuleMantleTest {
|
||||
assertNull(mantle.carved().get(-2, 9, 3));
|
||||
assertSame(CarvedVoid.LAVA, mantle.carved().get(17, 5, 3));
|
||||
mantle.carved().remove(17, 5, 3);
|
||||
assertFalse(mantle.isCarved(17, 5, 3));
|
||||
assertNull(mantle.carved().get(17, 5, 3));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -537,11 +537,6 @@ public final class ApiChunk implements GenerationContext {
|
||||
return new CarvedLayer();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCarved(int x, int y, int z) {
|
||||
return carved.contains(new BlockPosition(x, y, z));
|
||||
}
|
||||
|
||||
@Override
|
||||
public MantleEdit edit() {
|
||||
throw new UnsupportedOperationException("Chunk stages do not edit the mantle");
|
||||
|
||||
Reference in new issue
Block a user