no longer required

This commit is contained in:
Leijurv
2023-04-06 21:25:53 -07:00
parent 361c769650
commit c48d47ff2c
2 changed files with 0 additions and 8 deletions

View File

@@ -63,9 +63,6 @@ public final class BlockStateCachedData {
}
public boolean possibleAgainstMe(BlockStatePlacementOption placement) {
if (Main.fakePlacementForPerformanceTesting) {
return Main.RAND.nextInt(10) < 8;
}
PlaceAgainstData against = againstMe(placement);
return against != null && possible(placement, against);
}

View File

@@ -43,8 +43,6 @@ public class Main {
*/
public static final boolean STRICT_Y = true;
public static final boolean fakePlacementForPerformanceTesting = false;
public static final BlockData DATA = new BlockData(new VanillaBlockStateDataProvider());
public static final Random RAND = new Random(5021);
@@ -347,9 +345,6 @@ Branchy took 124ms
}
}
{
if (fakePlacementForPerformanceTesting) {
throw new IllegalStateException("not compatible with this test");
}
int[][][] test = new int[8][8][8];
int dirt = Block.BLOCK_STATE_IDS.get(Blocks.DIRT.getDefaultState());
System.out.println("D " + dirt);