Package net.minecraft.entity.ai.pathing
Class PathNodeNavigator
java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeNavigator
public class PathNodeNavigator extends Object
-
Field Summary
Fields Modifier and Type Field Description private PathMinHeap
minHeap
private PathNodeMaker
pathNodeMaker
private int
range
private PathNode[]
successors
-
Constructor Summary
Constructors Constructor Description PathNodeNavigator(PathNodeMaker pathNodeMaker, int range)
-
Method Summary
Modifier and Type Method Description private float
calculateDistances(PathNode node, Set<TargetPathNode> targets)
private Path
createPath(PathNode endNode, BlockPos target, boolean reachesTarget)
private Path
findPathToAny(PathNode startNode, Map<TargetPathNode,BlockPos> positions, float followRange, int distance, float rangeMultiplier)
Path
findPathToAny(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier)
-
Field Details
-
successors
-
range
private final int range -
pathNodeMaker
-
minHeap
-
-
Constructor Details
-
PathNodeNavigator
-
-
Method Details
-
findPathToAny
-
findPathToAny
-
calculateDistances
-
createPath
-