Class Target
java.lang.Object
net.minecraft.world.level.pathfinder.Node
net.minecraft.world.level.pathfinder.Target
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Target
createFromStream
(FriendlyByteBuf p_77507_) boolean
void
void
updateBest
(float p_77504_, Node p_77505_) Methods inherited from class net.minecraft.world.level.pathfinder.Node
asBlockPos, asVec3, cloneAndMove, createHash, distanceManhattan, distanceManhattan, distanceTo, distanceTo, distanceToSqr, distanceToSqr, distanceToXZ, equals, hashCode, inOpenSet, readContents, toString, writeToStream
-
Field Details
-
bestHeuristic
private float bestHeuristic -
bestNode
-
reached
private boolean reached
-
-
Constructor Details
-
Target
-
Target
public Target(int p_77498_, int p_77499_, int p_77500_)
-
-
Method Details
-
updateBest
-
getBestNode
-
setReached
public void setReached() -
isReached
public boolean isReached() -
createFromStream
-