diff --git a/src/test/java/baritone/builder/TarjansAlgorithmTest.java b/src/test/java/baritone/builder/TarjansAlgorithmTest.java index c51be98e3..c0cb11ff7 100644 --- a/src/test/java/baritone/builder/TarjansAlgorithmTest.java +++ b/src/test/java/baritone/builder/TarjansAlgorithmTest.java @@ -28,10 +28,11 @@ public class TarjansAlgorithmTest { Random RAND = new Random(5021); for (int i = 0; i < 100; i++) { BlockStateCachedData[][][] test = new BlockStateCachedData[20][20][20]; + int density = i <= 10 ? i : i % 4; // high density is slow so only do them once for (int x = 0; x < test.length; x++) { for (int y = 0; y < test[0].length; y++) { for (int z = 0; z < test[0][0].length; z++) { - if (RAND.nextInt(10) < 3) { + if (RAND.nextInt(10) < density) { test[x][y][z] = FakeStates.probablyCanBePlaced(RAND); } else { test[x][y][z] = FakeStates.AIR;