Class TargetPathNode

java.lang.Object
net.minecraft.entity.ai.pathing.PathNode
net.minecraft.entity.ai.pathing.TargetPathNode

public class TargetPathNode extends PathNode
Mappings:
Namespace Name
named net/minecraft/entity/ai/pathing/TargetPathNode
intermediary net/minecraft/class_4459
official eur
  • Field Details

    • nearestNodeDistance

      private float nearestNodeDistance
      Mappings:
      Namespace Name Mixin selector
      named nearestNodeDistance Lnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNodeDistance:F
      intermediary field_20304 Lnet/minecraft/class_4459;field_20304:F
      official m Leur;m:F
    • nearestNode

      private PathNode nearestNode
      Mappings:
      Namespace Name Mixin selector
      named nearestNode Lnet/minecraft/entity/ai/pathing/TargetPathNode;nearestNode:Lnet/minecraft/entity/ai/pathing/PathNode;
      intermediary field_20305 Lnet/minecraft/class_4459;field_20305:Lnet/minecraft/class_9;
      official n Leur;n:Leui;
    • reached

      private boolean reached
      Mappings:
      Namespace Name Mixin selector
      named reached Lnet/minecraft/entity/ai/pathing/TargetPathNode;reached:Z
      intermediary field_20306 Lnet/minecraft/class_4459;field_20306:Z
      official o Leur;o:Z
  • Constructor Details

    • TargetPathNode

      public TargetPathNode(PathNode node)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/pathing/TargetPathNode;<init>(Lnet/minecraft/entity/ai/pathing/PathNode;)V
      intermediary <init> Lnet/minecraft/class_4459;<init>(Lnet/minecraft/class_9;)V
      official <init> Leur;<init>(Leui;)V
    • TargetPathNode

      public TargetPathNode(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/pathing/PathNode;<init>(III)V
      intermediary <init> Lnet/minecraft/class_9;<init>(III)V
      official <init> Leui;<init>(III)V
  • Method Details

    • updateNearestNode

      public void updateNearestNode(float distance, PathNode node)
      Mappings:
      Namespace Name Mixin selector
      named updateNearestNode Lnet/minecraft/entity/ai/pathing/TargetPathNode;updateNearestNode(FLnet/minecraft/entity/ai/pathing/PathNode;)V
      intermediary method_21662 Lnet/minecraft/class_4459;method_21662(FLnet/minecraft/class_9;)V
      official a Leur;a(FLeui;)V
    • getNearestNode

      public PathNode getNearestNode()
      Mappings:
      Namespace Name Mixin selector
      named getNearestNode Lnet/minecraft/entity/ai/pathing/TargetPathNode;getNearestNode()Lnet/minecraft/entity/ai/pathing/PathNode;
      intermediary method_21664 Lnet/minecraft/class_4459;method_21664()Lnet/minecraft/class_9;
      official d Leur;d()Leui;
    • markReached

      public void markReached()
      Mappings:
      Namespace Name Mixin selector
      named markReached Lnet/minecraft/entity/ai/pathing/TargetPathNode;markReached()V
      intermediary method_21665 Lnet/minecraft/class_4459;method_21665()V
      official e Leur;e()V
    • isReached

      public boolean isReached()
      Mappings:
      Namespace Name Mixin selector
      named isReached Lnet/minecraft/entity/ai/pathing/TargetPathNode;isReached()Z
      intermediary method_35501 Lnet/minecraft/class_4459;method_35501()Z
      official f Leur;f()Z
    • fromBuffer

      public static TargetPathNode fromBuffer(PacketByteBuf buffer)
      Mappings:
      Namespace Name Mixin selector
      named fromBuffer Lnet/minecraft/entity/ai/pathing/TargetPathNode;fromBuffer(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/TargetPathNode;
      intermediary method_21663 Lnet/minecraft/class_4459;method_21663(Lnet/minecraft/class_2540;)Lnet/minecraft/class_4459;
      official c Leur;c(Lws;)Leur;