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 eczintermediary 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 mLecz;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 nLecz;n:Lect;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 oLecz;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>Lecz;<init>(Lect;)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>Lect;<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 aLecz;a(FLect;)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 dLecz;d()Lect;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 eLecz;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 fLecz;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 cLecz;c(Ltu;)Lecz;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;
-