Package net.minecraft.entity.ai.pathing
Class TargetPathNode
java.lang.Object
net.minecraft.entity.ai.pathing.PathNode
net.minecraft.entity.ai.pathing.TargetPathNode
- Mappings:
Namespace Name official dhdintermediary net/minecraft/class_4459named net/minecraft/entity/ai/pathing/TargetPathNode
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.pathing.PathNode
distanceToNearestTarget, heapIndex, heapWeight, pathLength, penalizedPathLength, penalty, previous, type, visited, x, y, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TargetPathNodefromBuffer(PacketByteBuf buffer) booleanvoidvoidupdateNearestNode(float distance, PathNode node) Methods inherited from class net.minecraft.entity.ai.pathing.PathNode
copyWithNewPosition, equals, getBlockPos, getDistance, getDistance, getManhattanDistance, getManhattanDistance, getPos, getSquaredDistance, getSquaredDistance, hash, hashCode, isInHeap, readBuf, toBuffer, toString
-
Field Details
-
nearestNodeDistance
private float nearestNodeDistance- Mappings:
Namespace Name Mixin selector official mLdhd;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 nLdhd;n:Ldgx;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 oLdhd;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>Ldhd;<init>(Ldgx;)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>Ldgx;<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 aLdhd;a(FLdgx;)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 dLdhd;d()Ldgx;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 eLdhd;e()Vintermediary method_21665Lnet/minecraft/class_4459;method_21665()Vnamed markReachedLnet/minecraft/entity/ai/pathing/TargetPathNode;markReached()V
-
isReached
public boolean isReached()- Mappings:
Namespace Name Mixin selector official fLdhd;f()Zintermediary method_35501Lnet/minecraft/class_4459;method_35501()Znamed isReachedLnet/minecraft/entity/ai/pathing/TargetPathNode;isReached()Z
-
fromBuffer
- Mappings:
Namespace Name Mixin selector official cLdhd;c(Loh;)Ldhd;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;
-