Class PathNodeNavigator

java.lang.Object
net.minecraft.entity.ai.pathing.PathNodeNavigator

public class PathNodeNavigator extends Object
Mappings:
Namespace Name
official dxb
intermediary net/minecraft/class_13
named net/minecraft/entity/ai/pathing/PathNodeNavigator
  • Field Details

    • TARGET_DISTANCE_MULTIPLIER

      private static final float TARGET_DISTANCE_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldxb;a:F
      intermediary field_31807 Lnet/minecraft/class_13;field_31807:F
      named TARGET_DISTANCE_MULTIPLIER Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;TARGET_DISTANCE_MULTIPLIER:F
    • field_31808

      private static final boolean field_31808
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Ldxb;e:Z
      intermediary field_31808 Lnet/minecraft/class_13;field_31808:Z
      named field_31808 Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;field_31808:Z
    • successors

      private final PathNode[] successors
      Mappings:
      Namespace Name Mixin selector
      official b Ldxb;b:[Ldwx;
      intermediary field_60 Lnet/minecraft/class_13;field_60:[Lnet/minecraft/class_9;
      named successors Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;successors:[Lnet/minecraft/entity/ai/pathing/PathNode;
    • range

      private final int range
      Mappings:
      Namespace Name Mixin selector
      official c Ldxb;c:I
      intermediary field_18708 Lnet/minecraft/class_13;field_18708:I
      named range Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;range:I
    • pathNodeMaker

      private final PathNodeMaker pathNodeMaker
      Mappings:
      Namespace Name Mixin selector
      official d Ldxb;d:Ldwy;
      intermediary field_61 Lnet/minecraft/class_13;field_61:Lnet/minecraft/class_8;
      named pathNodeMaker Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;pathNodeMaker:Lnet/minecraft/entity/ai/pathing/PathNodeMaker;
    • minHeap

      private final PathMinHeap minHeap
      Mappings:
      Namespace Name Mixin selector
      official f Ldxb;f:Ldwu;
      intermediary field_62 Lnet/minecraft/class_13;field_62:Lnet/minecraft/class_5;
      named minHeap Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;minHeap:Lnet/minecraft/entity/ai/pathing/PathMinHeap;
  • Constructor Details

    • PathNodeNavigator

      public PathNodeNavigator(PathNodeMaker pathNodeMaker, int range)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldxb;<init>(Ldwy;I)V
      intermediary <init> Lnet/minecraft/class_13;<init>(Lnet/minecraft/class_8;I)V
      named <init> Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;<init>(Lnet/minecraft/entity/ai/pathing/PathNodeMaker;I)V
  • Method Details

    • findPathToAny

      @Nullable public @Nullable Path findPathToAny(ChunkCache world, MobEntity mob, Set<BlockPos> positions, float followRange, int distance, float rangeMultiplier)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxb;a(Lcmv;Lbfz;Ljava/util/Set;FIF)Ldwz;
      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;
      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;
    • findPathToAny

      @Nullable private @Nullable Path findPathToAny(Profiler profiler, PathNode startNode, Map<TargetPathNode,BlockPos> positions, float followRange, int distance, float rangeMultiplier)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxb;a(Lbao;Ldwx;Ljava/util/Map;FIF)Ldwz;
      intermediary method_54 Lnet/minecraft/class_13;method_54(Lnet/minecraft/class_3695;Lnet/minecraft/class_9;Ljava/util/Map;FIF)Lnet/minecraft/class_11;
      named findPathToAny Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;findPathToAny(Lnet/minecraft/util/profiler/Profiler;Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Map;FIF)Lnet/minecraft/entity/ai/pathing/Path;
    • getDistance

      protected float getDistance(PathNode a, PathNode b)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxb;a(Ldwx;Ldwx;)F
      intermediary method_44000 Lnet/minecraft/class_13;method_44000(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)F
      named getDistance Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;getDistance(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)F
    • calculateDistances

      private float calculateDistances(PathNode node, Set<TargetPathNode> targets)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxb;a(Ldwx;Ljava/util/Set;)F
      intermediary method_21658 Lnet/minecraft/class_13;method_21658(Lnet/minecraft/class_9;Ljava/util/Set;)F
      named calculateDistances Lnet/minecraft/entity/ai/pathing/PathNodeNavigator;calculateDistances(Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Set;)F
    • createPath

      private Path createPath(PathNode endNode, BlockPos target, boolean reachesTarget)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxb;a(Ldwx;Lgt;Z)Ldwz;
      intermediary method_55 Lnet/minecraft/class_13;method_55(Lnet/minecraft/class_9;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_11;
      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;