Package net.minecraft.entity.ai.pathing
Class PathNodeNavigator
java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeNavigator
- Mappings:
Namespace Name named net/minecraft/entity/ai/pathing/PathNodeNavigator
intermediary net/minecraft/class_13
official eum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final boolean
private final PathMinHeap
private final PathNodeMaker
private int
private final PathNode[]
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate float
calculateDistances
(PathNode node, Set<TargetPathNode> targets) private Path
createPath
(PathNode endNode, BlockPos target, boolean reachesTarget) findPathToAny
(PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) findPathToAny
(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier) protected float
getDistance
(PathNode a, PathNode b) void
setRange
(int range)
-
Field Details
-
TARGET_DISTANCE_MULTIPLIER
private static final float TARGET_DISTANCE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named TARGET_DISTANCE_MULTIPLIER
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;TARGET_DISTANCE_MULTIPLIER:F
intermediary field_31807
Lnet/minecraft/class_13;field_31807:F
official a
Leum;a:F
-
field_31808
private static final boolean field_31808- See Also:
- Mappings:
Namespace Name Mixin selector named field_31808
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;field_31808:Z
intermediary field_31808
Lnet/minecraft/class_13;field_31808:Z
official e
Leum;e:Z
-
successors
- Mappings:
Namespace Name Mixin selector named successors
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;successors:[Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary field_60
Lnet/minecraft/class_13;field_60:[Lnet/minecraft/class_9;
official b
Leum;b:[Leui;
-
range
private int range- Mappings:
Namespace Name Mixin selector named range
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;range:I
intermediary field_18708
Lnet/minecraft/class_13;field_18708:I
official c
Leum;c:I
-
pathNodeMaker
- Mappings:
Namespace Name Mixin selector named pathNodeMaker
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;pathNodeMaker:Lnet/minecraft/entity/ai/pathing/PathNodeMaker;
intermediary field_61
Lnet/minecraft/class_13;field_61:Lnet/minecraft/class_8;
official d
Leum;d:Leuj;
-
minHeap
- Mappings:
Namespace Name Mixin selector named minHeap
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;minHeap:Lnet/minecraft/entity/ai/pathing/PathMinHeap;
intermediary field_62
Lnet/minecraft/class_13;field_62:Lnet/minecraft/class_5;
official f
Leum;f:Leug;
-
-
Constructor Details
-
PathNodeNavigator
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;<init>(Lnet/minecraft/entity/ai/pathing/PathNodeMaker;I)V
intermediary <init>
Lnet/minecraft/class_13;<init>(Lnet/minecraft/class_8;I)V
official <init>
Leum;<init>(Leuj;I)V
-
-
Method Details
-
setRange
public void setRange(int range) - Mappings:
Namespace Name Mixin selector named setRange
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;setRange(I)V
intermediary method_61822
Lnet/minecraft/class_13;method_61822(I)V
official a
Leum;a(I)V
-
findPathToAny
@Nullable public @Nullable Path findPathToAny(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier) - Mappings:
Namespace Name Mixin selector named findPathToAny
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;findPathToAny(Lnet/minecraft/world/chunk/ChunkCache;Lnet/minecraft/entity/mob/MobEntity;Ljava/util/Set;FIF)Lnet/minecraft/entity/ai/pathing/Path;
intermediary method_52
Lnet/minecraft/class_13;method_52(Lnet/minecraft/class_1950;Lnet/minecraft/class_1308;Ljava/util/Set;FIF)Lnet/minecraft/class_11;
official a
Leum;a(Ldhu;Lbwh;Ljava/util/Set;FIF)Leuk;
-
findPathToAny
@Nullable private @Nullable Path findPathToAny(PathNode startNode, Map<TargetPathNode, BlockPos> positions, float followRange, int distance, float rangeMultiplier) - Mappings:
Namespace Name Mixin selector named findPathToAny
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;findPathToAny(Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Map;FIF)Lnet/minecraft/entity/ai/pathing/Path;
intermediary method_54
Lnet/minecraft/class_13;method_54(Lnet/minecraft/class_9;Ljava/util/Map;FIF)Lnet/minecraft/class_11;
official a
Leum;a(Leui;Ljava/util/Map;FIF)Leuk;
-
getDistance
- Mappings:
Namespace Name Mixin selector named getDistance
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;getDistance(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)F
intermediary method_44000
Lnet/minecraft/class_13;method_44000(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)F
official a
Leum;a(Leui;Leui;)F
-
calculateDistances
- Mappings:
Namespace Name Mixin selector named calculateDistances
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;calculateDistances(Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Set;)F
intermediary method_21658
Lnet/minecraft/class_13;method_21658(Lnet/minecraft/class_9;Ljava/util/Set;)F
official a
Leum;a(Leui;Ljava/util/Set;)F
-
createPath
- Mappings:
Namespace Name Mixin selector named createPath
Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;createPath(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/entity/ai/pathing/Path;
intermediary method_55
Lnet/minecraft/class_13;method_55(Lnet/minecraft/class_9;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_11;
official a
Leum;a(Leui;Ljh;Z)Leuk;
-