Class PathNode

java.lang.Object
net.minecraft.entity.ai.pathing.PathNode
Direct Known Subclasses:
TargetPathNode

public class PathNode extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/pathing/PathNode
intermediary net/minecraft/class_9
official eui
  • Field Details

    • x

      public final int x
      Mappings:
      Namespace Name Mixin selector
      named x Lnet/minecraft/entity/ai/pathing/PathNode;x:I
      intermediary field_40 Lnet/minecraft/class_9;field_40:I
      official a Leui;a:I
    • y

      public final int y
      Mappings:
      Namespace Name Mixin selector
      named y Lnet/minecraft/entity/ai/pathing/PathNode;y:I
      intermediary field_39 Lnet/minecraft/class_9;field_39:I
      official b Leui;b:I
    • z

      public final int z
      Mappings:
      Namespace Name Mixin selector
      named z Lnet/minecraft/entity/ai/pathing/PathNode;z:I
      intermediary field_38 Lnet/minecraft/class_9;field_38:I
      official c Leui;c:I
    • hashCode

      private final int hashCode
      Mappings:
      Namespace Name Mixin selector
      named hashCode Lnet/minecraft/entity/ai/pathing/PathNode;hashCode:I
      intermediary field_44 Lnet/minecraft/class_9;field_44:I
      official m Leui;m:I
    • heapIndex

      public int heapIndex
      Mappings:
      Namespace Name Mixin selector
      named heapIndex Lnet/minecraft/entity/ai/pathing/PathNode;heapIndex:I
      intermediary field_37 Lnet/minecraft/class_9;field_37:I
      official d Leui;d:I
    • penalizedPathLength

      public float penalizedPathLength
      Mappings:
      Namespace Name Mixin selector
      named penalizedPathLength Lnet/minecraft/entity/ai/pathing/PathNode;penalizedPathLength:F
      intermediary field_36 Lnet/minecraft/class_9;field_36:F
      official e Leui;e:F
    • distanceToNearestTarget

      public float distanceToNearestTarget
      Mappings:
      Namespace Name Mixin selector
      named distanceToNearestTarget Lnet/minecraft/entity/ai/pathing/PathNode;distanceToNearestTarget:F
      intermediary field_34 Lnet/minecraft/class_9;field_34:F
      official f Leui;f:F
    • heapWeight

      public float heapWeight
      Mappings:
      Namespace Name Mixin selector
      named heapWeight Lnet/minecraft/entity/ai/pathing/PathNode;heapWeight:F
      intermediary field_47 Lnet/minecraft/class_9;field_47:F
      official g Leui;g:F
    • previous

      @Nullable public @Nullable PathNode previous
      Mappings:
      Namespace Name Mixin selector
      named previous Lnet/minecraft/entity/ai/pathing/PathNode;previous:Lnet/minecraft/entity/ai/pathing/PathNode;
      intermediary field_35 Lnet/minecraft/class_9;field_35:Lnet/minecraft/class_9;
      official h Leui;h:Leui;
    • visited

      public boolean visited
      Mappings:
      Namespace Name Mixin selector
      named visited Lnet/minecraft/entity/ai/pathing/PathNode;visited:Z
      intermediary field_42 Lnet/minecraft/class_9;field_42:Z
      official i Leui;i:Z
    • pathLength

      public float pathLength
      Mappings:
      Namespace Name Mixin selector
      named pathLength Lnet/minecraft/entity/ai/pathing/PathNode;pathLength:F
      intermediary field_46 Lnet/minecraft/class_9;field_46:F
      official j Leui;j:F
    • penalty

      public float penalty
      Mappings:
      Namespace Name Mixin selector
      named penalty Lnet/minecraft/entity/ai/pathing/PathNode;penalty:F
      intermediary field_43 Lnet/minecraft/class_9;field_43:F
      official k Leui;k:F
    • type

      public PathNodeType type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/entity/ai/pathing/PathNode;type:Lnet/minecraft/entity/ai/pathing/PathNodeType;
      intermediary field_41 Lnet/minecraft/class_9;field_41:Lnet/minecraft/class_7;
      official l Leui;l:Leun;
  • Constructor Details

    • PathNode

      public PathNode(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/pathing/PathNode;<init>(III)V
      intermediary <init> Lnet/minecraft/class_9;<init>(III)V
      official <init> Leui;<init>(III)V
  • Method Details

    • copyWithNewPosition

      public PathNode copyWithNewPosition(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named copyWithNewPosition Lnet/minecraft/entity/ai/pathing/PathNode;copyWithNewPosition(III)Lnet/minecraft/entity/ai/pathing/PathNode;
      intermediary method_26 Lnet/minecraft/class_9;method_26(III)Lnet/minecraft/class_9;
      official a Leui;a(III)Leui;
    • hash

      public static int hash(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named hash Lnet/minecraft/entity/ai/pathing/PathNode;hash(III)I
      intermediary method_30 Lnet/minecraft/class_9;method_30(III)I
      official b Leui;b(III)I
    • getDistance

      public float getDistance(PathNode node)
      Mappings:
      Namespace Name Mixin selector
      named getDistance Lnet/minecraft/entity/ai/pathing/PathNode;getDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)F
      intermediary method_31 Lnet/minecraft/class_9;method_31(Lnet/minecraft/class_9;)F
      official a Leui;a(Leui;)F
    • getHorizontalDistance

      public float getHorizontalDistance(PathNode node)
      Mappings:
      Namespace Name Mixin selector
      named getHorizontalDistance Lnet/minecraft/entity/ai/pathing/PathNode;getHorizontalDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)F
      intermediary method_44022 Lnet/minecraft/class_9;method_44022(Lnet/minecraft/class_9;)F
      official b Leui;b(Leui;)F
    • getDistance

      public float getDistance(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getDistance Lnet/minecraft/entity/ai/pathing/PathNode;getDistance(Lnet/minecraft/util/math/BlockPos;)F
      intermediary method_35494 Lnet/minecraft/class_9;method_35494(Lnet/minecraft/class_2338;)F
      official a Leui;a(Ljh;)F
    • getSquaredDistance

      public float getSquaredDistance(PathNode node)
      Mappings:
      Namespace Name Mixin selector
      named getSquaredDistance Lnet/minecraft/entity/ai/pathing/PathNode;getSquaredDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)F
      intermediary method_32 Lnet/minecraft/class_9;method_32(Lnet/minecraft/class_9;)F
      official c Leui;c(Leui;)F
    • getSquaredDistance

      public float getSquaredDistance(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getSquaredDistance Lnet/minecraft/entity/ai/pathing/PathNode;getSquaredDistance(Lnet/minecraft/util/math/BlockPos;)F
      intermediary method_35497 Lnet/minecraft/class_9;method_35497(Lnet/minecraft/class_2338;)F
      official b Leui;b(Ljh;)F
    • getManhattanDistance

      public float getManhattanDistance(PathNode node)
      Mappings:
      Namespace Name Mixin selector
      named getManhattanDistance Lnet/minecraft/entity/ai/pathing/PathNode;getManhattanDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)F
      intermediary method_21653 Lnet/minecraft/class_9;method_21653(Lnet/minecraft/class_9;)F
      official d Leui;d(Leui;)F
    • getManhattanDistance

      public float getManhattanDistance(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getManhattanDistance Lnet/minecraft/entity/ai/pathing/PathNode;getManhattanDistance(Lnet/minecraft/util/math/BlockPos;)F
      intermediary method_21654 Lnet/minecraft/class_9;method_21654(Lnet/minecraft/class_2338;)F
      official c Leui;c(Ljh;)F
    • getBlockPos

      public BlockPos getBlockPos()
      Mappings:
      Namespace Name Mixin selector
      named getBlockPos Lnet/minecraft/entity/ai/pathing/PathNode;getBlockPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_22879 Lnet/minecraft/class_9;method_22879()Lnet/minecraft/class_2338;
      official a Leui;a()Ljh;
    • getPos

      public Vec3d getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/entity/ai/pathing/PathNode;getPos()Lnet/minecraft/util/math/Vec3d;
      intermediary method_35496 Lnet/minecraft/class_9;method_35496()Lnet/minecraft/class_243;
      official b Leui;b()Lfbx;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/entity/ai/pathing/PathNode;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_9;equals(Ljava/lang/Object;)Z
      official equals Leui;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isInHeap

      public boolean isInHeap()
      Mappings:
      Namespace Name Mixin selector
      named isInHeap Lnet/minecraft/entity/ai/pathing/PathNode;isInHeap()Z
      intermediary method_27 Lnet/minecraft/class_9;method_27()Z
      official c Leui;c()Z
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • write

      public void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/entity/ai/pathing/PathNode;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_35495 Lnet/minecraft/class_9;method_35495(Lnet/minecraft/class_2540;)V
      official a Leui;a(Lws;)V
    • fromBuf

      public static PathNode fromBuf(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named fromBuf Lnet/minecraft/entity/ai/pathing/PathNode;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/PathNode;
      intermediary method_28 Lnet/minecraft/class_9;method_28(Lnet/minecraft/class_2540;)Lnet/minecraft/class_9;
      official b Leui;b(Lws;)Leui;
    • readFromBuf

      protected static void readFromBuf(PacketByteBuf buf, PathNode target)
      Mappings:
      Namespace Name Mixin selector
      named readFromBuf Lnet/minecraft/entity/ai/pathing/PathNode;readFromBuf(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/entity/ai/pathing/PathNode;)V
      intermediary method_47935 Lnet/minecraft/class_9;method_47935(Lnet/minecraft/class_2540;Lnet/minecraft/class_9;)V
      official a Leui;a(Lws;Leui;)V