net.minecraft.entity.ai.pathing

public class TargetPathNode

extends PathNode

net.minecraft.world.level.pathfinder.Target
net.minecraft.class_4459
net.minecraft.entity.ai.pathing.TargetPathNode

Field summary

Modifier and TypeField
private float
bestHeuristic
field_20304
nearestNodeDistance
private PathNode
bestNode
field_20305
nearestNode
private boolean
reached
field_20306
reached

Constructor summary

ModifierConstructor
public (PathNode node)
public (int x, int y, int z)

Method summary

Modifier and TypeMethod
public void
updateBest(float heuristic, Node node)
method_21662(float arg0, class_9 arg1)
updateNearestNode(float distance, PathNode node)
public PathNode
getBestNode()
method_21664()
getNearestNode()
public void
setReached()
method_21665()
markReached()
public boolean
isReached()
method_35501()
isReached()
public static TargetPathNode
createFromStream(FriendlyByteBuf buffer)
method_21663(class_2540 arg0)
fromBuffer(PacketByteBuf buffer)