Package net.minecraft.entity.ai.pathing
Class TargetPathNode
java.lang.Object
net.minecraft.entity.ai.pathing.PathNode
net.minecraft.entity.ai.pathing.TargetPathNode
public class TargetPathNode extends PathNode
- Mappings:
Namespace Name official dgcintermediary net/minecraft/class_4459named net/minecraft/entity/ai/pathing/TargetPathNode
-
Field Summary
Fields Modifier and Type Field Description private PathNodenearestNodeprivate floatnearestNodeDistanceprivate booleanreachedFields inherited from class net.minecraft.entity.ai.pathing.PathNode
distanceToNearestTarget, heapIndex, heapWeight, pathLength, penalizedPathLength, penalty, previous, type, visited, x, y, z -
Constructor Summary
Constructors Constructor Description TargetPathNode(int x, int y, int z)TargetPathNode(PathNode node) -
Method Summary
Modifier and Type Method Description static TargetPathNodefromBuffer(PacketByteBuf buffer)PathNodegetNearestNode()voidmarkReached()booleanmethod_35501()voidupdateNearestNode(float distance, PathNode node)Methods inherited from class net.minecraft.entity.ai.pathing.PathNode
copyWithNewPosition, equals, getDistance, getManhattanDistance, getManhattanDistance, getPos, getSquaredDistance, hash, hashCode, isInHeap, method_35494, method_35495, method_35496, method_35497, toString
-
Field Details
-
nearestNodeDistance
private float nearestNodeDistance- Mappings:
Namespace Name Mixin selector official mLdgc;m:Fintermediary field_20304Lnet/minecraft/class_4459;field_20304:Fnamed nearestNodeDistanceLnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNodeDistance:F
-
nearestNode
- Mappings:
Namespace Name Mixin selector official nLdgc;n:Ldfw;intermediary field_20305Lnet/minecraft/class_4459;field_20305:Lnet/minecraft/class_9;named nearestNodeLnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNode:Lnet/minecraft/entity/ai/pathing/PathNode;
-
reached
private boolean reached- Mappings:
Namespace Name Mixin selector official oLdgc;o:Zintermediary field_20306Lnet/minecraft/class_4459;field_20306:Znamed reachedLnet/minecraft/entity/ai/pathing/TargetPathNode;reached:Z
-
-
Constructor Details
-
TargetPathNode
- Mappings:
Namespace Name Mixin selector official <init>Ldgc;<init>(Ldfw;)Vintermediary <init>Lnet/minecraft/class_4459;<init>(Lnet/minecraft/class_9;)Vnamed <init>Lnet/minecraft/entity/ai/pathing/TargetPathNode;<init>(Lnet/minecraft/entity/ai/pathing/PathNode;)V
-
TargetPathNode
public TargetPathNode(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official <init>Ldfw;<init>(III)Vintermediary <init>Lnet/minecraft/class_9;<init>(III)Vnamed <init>Lnet/minecraft/entity/ai/pathing/PathNode;<init>(III)V
-
-
Method Details
-
updateNearestNode
- Mappings:
Namespace Name Mixin selector official aLdgc;a(FLdfw;)Vintermediary method_21662Lnet/minecraft/class_4459;method_21662(FLnet/minecraft/class_9;)Vnamed updateNearestNodeLnet/minecraft/entity/ai/pathing/TargetPathNode;updateNearestNode(FLnet/minecraft/entity/ai/pathing/PathNode;)V
-
getNearestNode
- Mappings:
Namespace Name Mixin selector official dLdgc;d()Ldfw;intermediary method_21664Lnet/minecraft/class_4459;method_21664()Lnet/minecraft/class_9;named getNearestNodeLnet/minecraft/entity/ai/pathing/TargetPathNode;getNearestNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
markReached
public void markReached()- Mappings:
Namespace Name Mixin selector official eLdgc;e()Vintermediary method_21665Lnet/minecraft/class_4459;method_21665()Vnamed markReachedLnet/minecraft/entity/ai/pathing/TargetPathNode;markReached()V
-
method_35501
public boolean method_35501()- Mappings:
Namespace Name Mixin selector official fLdgc;f()Zintermediary method_35501Lnet/minecraft/class_4459;method_35501()Znamed method_35501Lnet/minecraft/entity/ai/pathing/TargetPathNode;method_35501()Z
-
fromBuffer
- Mappings:
Namespace Name Mixin selector official cLdgc;c(Lob;)Ldgc;intermediary method_21663Lnet/minecraft/class_4459;method_21663(Lnet/minecraft/class_2540;)Lnet/minecraft/class_4459;named fromBufferLnet/minecraft/entity/ai/pathing/TargetPathNode;fromBuffer(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-