Class Target

java.lang.Object
net.minecraft.world.level.pathfinder.Node
net.minecraft.world.level.pathfinder.Target

public class Target extends Node
  • Field Details

    • bestHeuristic

      private float bestHeuristic
    • bestNode

      private Node bestNode
    • reached

      private boolean reached
  • Constructor Details

    • Target

      public Target(Node p_77502_)
    • Target

      public Target(int p_77498_, int p_77499_, int p_77500_)
  • Method Details

    • updateBest

      public void updateBest(float p_77504_, Node p_77505_)
    • getBestNode

      public Node getBestNode()
    • setReached

      public void setReached()
    • isReached

      public boolean isReached()
    • createFromStream

      public static Target createFromStream(FriendlyByteBuf p_77507_)