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 PathMinHeapminHeapprivate PathNodeMakerpathNodeMakerprivate intrangeprivate PathNode[]successors -
Constructor Summary
Constructors Constructor Description PathNodeNavigator(PathNodeMaker pathNodeMaker, int range) -
Method Summary
Modifier and Type Method Description private floatcalculateDistances(PathNode node, Set<TargetPathNode> targets)private PathcreatePath(PathNode endNode, BlockPos target, boolean reachesTarget)private PathfindPathToAny(PathNode startNode, Map<TargetPathNode,BlockPos> positions, float followRange, int distance, float rangeMultiplier)PathfindPathToAny(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
-