Package net.minecraft.entity.ai.pathing
Class PathNode
java.lang.Object
net.minecraft.entity.ai.pathing.PathNode
- Direct Known Subclasses:
TargetPathNode
- Mappings:
Namespace Name named net/minecraft/entity/ai/pathing/PathNodeintermediary net/minecraft/class_9official fcl
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatprivate final intintfloatfloatfloatfloatbooleanfinal intfinal intfinal int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyWithNewPosition(int x, int y, int z) booleanstatic PathNodefromBuf(PacketByteBuf buf) floatgetDistance(PathNode node) floatgetDistance(BlockPos pos) floatfloatgetManhattanDistance(PathNode node) floatgetPos()floatgetSquaredDistance(PathNode node) floatstatic inthash(int x, int y, int z) inthashCode()booleanisInHeap()protected static voidreadFromBuf(PacketByteBuf buf, PathNode target) toString()voidwrite(PacketByteBuf buf)
-
Field Details
-
x
public final int x- Mappings:
Namespace Name Mixin selector named xLnet/minecraft/entity/ai/pathing/PathNode;x:Iintermediary field_40Lnet/minecraft/class_9;field_40:Iofficial aLfcl;a:I
-
y
public final int y- Mappings:
Namespace Name Mixin selector named yLnet/minecraft/entity/ai/pathing/PathNode;y:Iintermediary field_39Lnet/minecraft/class_9;field_39:Iofficial bLfcl;b:I
-
z
public final int z- Mappings:
Namespace Name Mixin selector named zLnet/minecraft/entity/ai/pathing/PathNode;z:Iintermediary field_38Lnet/minecraft/class_9;field_38:Iofficial cLfcl;c:I
-
hashCode
private final int hashCode- Mappings:
Namespace Name Mixin selector named hashCodeLnet/minecraft/entity/ai/pathing/PathNode;hashCode:Iintermediary field_44Lnet/minecraft/class_9;field_44:Iofficial mLfcl;m:I
-
heapIndex
public int heapIndex- Mappings:
Namespace Name Mixin selector named heapIndexLnet/minecraft/entity/ai/pathing/PathNode;heapIndex:Iintermediary field_37Lnet/minecraft/class_9;field_37:Iofficial dLfcl;d:I
-
penalizedPathLength
public float penalizedPathLength- Mappings:
Namespace Name Mixin selector named penalizedPathLengthLnet/minecraft/entity/ai/pathing/PathNode;penalizedPathLength:Fintermediary field_36Lnet/minecraft/class_9;field_36:Fofficial eLfcl;e:F
-
distanceToNearestTarget
public float distanceToNearestTarget- Mappings:
Namespace Name Mixin selector named distanceToNearestTargetLnet/minecraft/entity/ai/pathing/PathNode;distanceToNearestTarget:Fintermediary field_34Lnet/minecraft/class_9;field_34:Fofficial fLfcl;f:F
-
heapWeight
public float heapWeight- Mappings:
Namespace Name Mixin selector named heapWeightLnet/minecraft/entity/ai/pathing/PathNode;heapWeight:Fintermediary field_47Lnet/minecraft/class_9;field_47:Fofficial gLfcl;g:F
-
previous
- Mappings:
Namespace Name Mixin selector named previousLnet/minecraft/entity/ai/pathing/PathNode;previous:Lnet/minecraft/entity/ai/pathing/PathNode;intermediary field_35Lnet/minecraft/class_9;field_35:Lnet/minecraft/class_9;official hLfcl;h:Lfcl;
-
visited
public boolean visited- Mappings:
Namespace Name Mixin selector named visitedLnet/minecraft/entity/ai/pathing/PathNode;visited:Zintermediary field_42Lnet/minecraft/class_9;field_42:Zofficial iLfcl;i:Z
-
pathLength
public float pathLength- Mappings:
Namespace Name Mixin selector named pathLengthLnet/minecraft/entity/ai/pathing/PathNode;pathLength:Fintermediary field_46Lnet/minecraft/class_9;field_46:Fofficial jLfcl;j:F
-
penalty
public float penalty- Mappings:
Namespace Name Mixin selector named penaltyLnet/minecraft/entity/ai/pathing/PathNode;penalty:Fintermediary field_43Lnet/minecraft/class_9;field_43:Fofficial kLfcl;k:F
-
type
- Mappings:
Namespace Name Mixin selector named typeLnet/minecraft/entity/ai/pathing/PathNode;type:Lnet/minecraft/entity/ai/pathing/PathNodeType;intermediary field_41Lnet/minecraft/class_9;field_41:Lnet/minecraft/class_7;official lLfcl;l:Lfcq;
-
-
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)Vintermediary <init>Lnet/minecraft/class_9;<init>(III)Vofficial <init>Lfcl;<init>(III)V
-
-
Method Details
-
copyWithNewPosition
- Mappings:
Namespace Name Mixin selector named copyWithNewPositionLnet/minecraft/entity/ai/pathing/PathNode;copyWithNewPosition(III)Lnet/minecraft/entity/ai/pathing/PathNode;intermediary method_26Lnet/minecraft/class_9;method_26(III)Lnet/minecraft/class_9;official aLfcl;a(III)Lfcl;
-
hash
public static int hash(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named hashLnet/minecraft/entity/ai/pathing/PathNode;hash(III)Iintermediary method_30Lnet/minecraft/class_9;method_30(III)Iofficial bLfcl;b(III)I
-
getDistance
- Mappings:
Namespace Name Mixin selector named getDistanceLnet/minecraft/entity/ai/pathing/PathNode;getDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)Fintermediary method_31Lnet/minecraft/class_9;method_31(Lnet/minecraft/class_9;)Fofficial aLfcl;a(Lfcl;)F
-
getHorizontalDistance
- Mappings:
Namespace Name Mixin selector named getHorizontalDistanceLnet/minecraft/entity/ai/pathing/PathNode;getHorizontalDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)Fintermediary method_44022Lnet/minecraft/class_9;method_44022(Lnet/minecraft/class_9;)Fofficial bLfcl;b(Lfcl;)F
-
getDistance
- Mappings:
Namespace Name Mixin selector named getDistanceLnet/minecraft/entity/ai/pathing/PathNode;getDistance(Lnet/minecraft/util/math/BlockPos;)Fintermediary method_35494Lnet/minecraft/class_9;method_35494(Lnet/minecraft/class_2338;)Fofficial aLfcl;a(Lix;)F
-
getSquaredDistance
- Mappings:
Namespace Name Mixin selector named getSquaredDistanceLnet/minecraft/entity/ai/pathing/PathNode;getSquaredDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)Fintermediary method_32Lnet/minecraft/class_9;method_32(Lnet/minecraft/class_9;)Fofficial cLfcl;c(Lfcl;)F
-
getSquaredDistance
- Mappings:
Namespace Name Mixin selector named getSquaredDistanceLnet/minecraft/entity/ai/pathing/PathNode;getSquaredDistance(Lnet/minecraft/util/math/BlockPos;)Fintermediary method_35497Lnet/minecraft/class_9;method_35497(Lnet/minecraft/class_2338;)Fofficial bLfcl;b(Lix;)F
-
getManhattanDistance
- Mappings:
Namespace Name Mixin selector named getManhattanDistanceLnet/minecraft/entity/ai/pathing/PathNode;getManhattanDistance(Lnet/minecraft/entity/ai/pathing/PathNode;)Fintermediary method_21653Lnet/minecraft/class_9;method_21653(Lnet/minecraft/class_9;)Fofficial dLfcl;d(Lfcl;)F
-
getManhattanDistance
- Mappings:
Namespace Name Mixin selector named getManhattanDistanceLnet/minecraft/entity/ai/pathing/PathNode;getManhattanDistance(Lnet/minecraft/util/math/BlockPos;)Fintermediary method_21654Lnet/minecraft/class_9;method_21654(Lnet/minecraft/class_2338;)Fofficial cLfcl;c(Lix;)F
-
getBlockPos
- Mappings:
Namespace Name Mixin selector named getBlockPosLnet/minecraft/entity/ai/pathing/PathNode;getBlockPos()Lnet/minecraft/util/math/BlockPos;intermediary method_22879Lnet/minecraft/class_9;method_22879()Lnet/minecraft/class_2338;official aLfcl;a()Lix;
-
getPos
- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/entity/ai/pathing/PathNode;getPos()Lnet/minecraft/util/math/Vec3d;intermediary method_35496Lnet/minecraft/class_9;method_35496()Lnet/minecraft/class_243;official bLfcl;b()Lfkb;
-
equals
-
hashCode
public int hashCode() -
isInHeap
public boolean isInHeap()- Mappings:
Namespace Name Mixin selector named isInHeapLnet/minecraft/entity/ai/pathing/PathNode;isInHeap()Zintermediary method_27Lnet/minecraft/class_9;method_27()Zofficial cLfcl;c()Z
-
toString
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/entity/ai/pathing/PathNode;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_35495Lnet/minecraft/class_9;method_35495(Lnet/minecraft/class_2540;)Vofficial aLfcl;a(Lwa;)V
-
fromBuf
- Mappings:
Namespace Name Mixin selector named fromBufLnet/minecraft/entity/ai/pathing/PathNode;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/PathNode;intermediary method_28Lnet/minecraft/class_9;method_28(Lnet/minecraft/class_2540;)Lnet/minecraft/class_9;official bLfcl;b(Lwa;)Lfcl;
-
readFromBuf
- Mappings:
Namespace Name Mixin selector named readFromBufLnet/minecraft/entity/ai/pathing/PathNode;readFromBuf(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/entity/ai/pathing/PathNode;)Vintermediary method_47935Lnet/minecraft/class_9;method_47935(Lnet/minecraft/class_2540;Lnet/minecraft/class_9;)Vofficial aLfcl;a(Lwa;Lfcl;)V
-