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 durintermediary 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, fromBuf, getBlockPos, getDistance, getDistance, getHorizontalDistance, getManhattanDistance, getManhattanDistance, getPos, getSquaredDistance, getSquaredDistance, hash, hashCode, isInHeap, readFromBuf, toString, write
-
Field Details
-
nearestNodeDistance
private float nearestNodeDistance- Mappings:
Namespace Name Mixin selector official mLdur;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 nLdur;n:Ldul;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 oLdur;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>Ldur;<init>(Ldul;)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>Ldul;<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 aLdur;a(FLdul;)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 dLdur;d()Ldul;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 eLdur;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 fLdur;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 cLdur;c(Lsd;)Ldur;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;
-