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 dqp
intermediary net/minecraft/class_4459
named 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 TargetPathNode
fromBuffer
(PacketByteBuf buffer) boolean
void
void
updateNearestNode
(float distance, PathNode node) Methods inherited from class net.minecraft.entity.ai.pathing.PathNode
copyWithNewPosition, equals, getBlockPos, getDistance, getDistance, getHorizontalDistance, getManhattanDistance, getManhattanDistance, getPos, getSquaredDistance, getSquaredDistance, hash, hashCode, isInHeap, readBuf, toBuffer, toString
-
Field Details
-
nearestNodeDistance
private float nearestNodeDistance- Mappings:
Namespace Name Mixin selector official m
Ldqp;m:F
intermediary field_20304
Lnet/minecraft/class_4459;field_20304:F
named nearestNodeDistance
Lnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNodeDistance:F
-
nearestNode
- Mappings:
Namespace Name Mixin selector official n
Ldqp;n:Ldqj;
intermediary field_20305
Lnet/minecraft/class_4459;field_20305:Lnet/minecraft/class_9;
named nearestNode
Lnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNode:Lnet/minecraft/entity/ai/pathing/PathNode;
-
reached
private boolean reached- Mappings:
Namespace Name Mixin selector official o
Ldqp;o:Z
intermediary field_20306
Lnet/minecraft/class_4459;field_20306:Z
named reached
Lnet/minecraft/entity/ai/pathing/TargetPathNode;reached:Z
-
-
Constructor Details
-
TargetPathNode
- Mappings:
Namespace Name Mixin selector official <init>
Ldqp;<init>(Ldqj;)V
intermediary <init>
Lnet/minecraft/class_4459;<init>(Lnet/minecraft/class_9;)V
named <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>
Ldqj;<init>(III)V
intermediary <init>
Lnet/minecraft/class_9;<init>(III)V
named <init>
Lnet/minecraft/entity/ai/pathing/PathNode;<init>(III)V
-
-
Method Details
-
updateNearestNode
- Mappings:
Namespace Name Mixin selector official a
Ldqp;a(FLdqj;)V
intermediary method_21662
Lnet/minecraft/class_4459;method_21662(FLnet/minecraft/class_9;)V
named updateNearestNode
Lnet/minecraft/entity/ai/pathing/TargetPathNode;updateNearestNode(FLnet/minecraft/entity/ai/pathing/PathNode;)V
-
getNearestNode
- Mappings:
Namespace Name Mixin selector official d
Ldqp;d()Ldqj;
intermediary method_21664
Lnet/minecraft/class_4459;method_21664()Lnet/minecraft/class_9;
named getNearestNode
Lnet/minecraft/entity/ai/pathing/TargetPathNode;getNearestNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
markReached
public void markReached()- Mappings:
Namespace Name Mixin selector official e
Ldqp;e()V
intermediary method_21665
Lnet/minecraft/class_4459;method_21665()V
named markReached
Lnet/minecraft/entity/ai/pathing/TargetPathNode;markReached()V
-
isReached
public boolean isReached()- Mappings:
Namespace Name Mixin selector official f
Ldqp;f()Z
intermediary method_35501
Lnet/minecraft/class_4459;method_35501()Z
named isReached
Lnet/minecraft/entity/ai/pathing/TargetPathNode;isReached()Z
-
fromBuffer
- Mappings:
Namespace Name Mixin selector official c
Ldqp;c(Lqx;)Ldqp;
intermediary method_21663
Lnet/minecraft/class_4459;method_21663(Lnet/minecraft/class_2540;)Lnet/minecraft/class_4459;
named fromBuffer
Lnet/minecraft/entity/ai/pathing/TargetPathNode;fromBuffer(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
-