tangled
alpha
login
or
join now
codexarchonic.nekoweb.org
/
ProjectInfinity
0
fork
atom
Inspired by 2020's April Fools' 20w14infinite Snapshot, this mod brings endless randomly generated dimensions into Minecraft.
0
fork
atom
overview
issues
6
pulls
pipelines
bishops are safer now
cassian.cc
1 year ago
bc9d5f38
00e628e2
+1
-1
1 changed file
expand all
collapse all
unified
split
common
src
main
java
net
lerariemann
infinity
entity
custom
BishopNodeMaker.java
+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
24
-
PathNode[] succ = new PathNode[Direction.Type.HORIZONTAL.ordinal()];
24
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;