Inspired by 2020's April Fools' 20w14infinite Snapshot, this mod brings endless randomly generated dimensions into Minecraft.

bishops are safer now

+1 -1
+1 -1
common/src/main/java/net/lerariemann/infinity/entity/custom/BishopNodeMaker.java
··· 21 21 22 22 double d = this.getFeetY(new BlockPos(node.x, node.y, node.z)); 23 23 24 - PathNode[] succ = new PathNode[Direction.Type.HORIZONTAL.ordinal()]; 24 + PathNode[] succ = new PathNode[Direction.Type.HORIZONTAL.stream().toList().size()]; 25 25 for (Direction direction : Direction.Type.HORIZONTAL) { 26 26 PathNode pathNode = this.getPathNode(node.x + direction.getOffsetX(), node.y, node.z + direction.getOffsetZ(), j, d, direction, pathNodeType2); 27 27 succ[direction.getHorizontal()] = pathNode;