Class Path

java.lang.Object
net.minecraft.entity.ai.pathing.Path

public class Path extends Object
Mappings:
Namespace Name
official ebb
intermediary net/minecraft/class_11
named net/minecraft/entity/ai/pathing/Path
  • Field Details

    • nodes

      private final List<PathNode> nodes
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a:Ljava/util/List;
      intermediary field_52 Lnet/minecraft/class_11;field_52:Ljava/util/List;
      named nodes Lnet/minecraft/entity/ai/pathing/Path;nodes:Ljava/util/List;
    • debugNodeInfos

      @Nullable private @Nullable Path.DebugNodeInfo debugNodeInfos
      Mappings:
      Namespace Name Mixin selector
      official b Lebb;b:Lebb$a;
      intermediary field_45155 Lnet/minecraft/class_11;field_45155:Lnet/minecraft/class_11$class_8644;
      named debugNodeInfos Lnet/minecraft/entity/ai/pathing/Path;debugNodeInfos:Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;
    • currentNodeIndex

      private int currentNodeIndex
      Mappings:
      Namespace Name Mixin selector
      official c Lebb;c:I
      intermediary field_54 Lnet/minecraft/class_11;field_54:I
      named currentNodeIndex Lnet/minecraft/entity/ai/pathing/Path;currentNodeIndex:I
    • target

      private final BlockPos target
      Mappings:
      Namespace Name Mixin selector
      official d Lebb;d:Lgw;
      intermediary field_20301 Lnet/minecraft/class_11;field_20301:Lnet/minecraft/class_2338;
      named target Lnet/minecraft/entity/ai/pathing/Path;target:Lnet/minecraft/util/math/BlockPos;
    • manhattanDistanceFromTarget

      private final float manhattanDistanceFromTarget
      Mappings:
      Namespace Name Mixin selector
      official e Lebb;e:F
      intermediary field_20302 Lnet/minecraft/class_11;field_20302:F
      named manhattanDistanceFromTarget Lnet/minecraft/entity/ai/pathing/Path;manhattanDistanceFromTarget:F
    • reachesTarget

      private final boolean reachesTarget
      Mappings:
      Namespace Name Mixin selector
      official f Lebb;f:Z
      intermediary field_20303 Lnet/minecraft/class_11;field_20303:Z
      named reachesTarget Lnet/minecraft/entity/ai/pathing/Path;reachesTarget:Z
  • Constructor Details

    • Path

      public Path(List<PathNode> nodes, BlockPos target, boolean reachesTarget)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lebb;<init>(Ljava/util/List;Lgw;Z)V
      intermediary <init> Lnet/minecraft/class_11;<init>(Ljava/util/List;Lnet/minecraft/class_2338;Z)V
      named <init> Lnet/minecraft/entity/ai/pathing/Path;<init>(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Z)V
  • Method Details

    • next

      public void next()
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a()V
      intermediary method_44 Lnet/minecraft/class_11;method_44()V
      named next Lnet/minecraft/entity/ai/pathing/Path;next()V
    • isStart

      public boolean isStart()
      Mappings:
      Namespace Name Mixin selector
      official b Lebb;b()Z
      intermediary method_30849 Lnet/minecraft/class_11;method_30849()Z
      named isStart Lnet/minecraft/entity/ai/pathing/Path;isStart()Z
    • isFinished

      public boolean isFinished()
      Mappings:
      Namespace Name Mixin selector
      official c Lebb;c()Z
      intermediary method_46 Lnet/minecraft/class_11;method_46()Z
      named isFinished Lnet/minecraft/entity/ai/pathing/Path;isFinished()Z
    • getEnd

      @Nullable public @Nullable PathNode getEnd()
      Mappings:
      Namespace Name Mixin selector
      official d Lebb;d()Leaz;
      intermediary method_45 Lnet/minecraft/class_11;method_45()Lnet/minecraft/class_9;
      named getEnd Lnet/minecraft/entity/ai/pathing/Path;getEnd()Lnet/minecraft/entity/ai/pathing/PathNode;
    • getNode

      public PathNode getNode(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a(I)Leaz;
      intermediary method_40 Lnet/minecraft/class_11;method_40(I)Lnet/minecraft/class_9;
      named getNode Lnet/minecraft/entity/ai/pathing/Path;getNode(I)Lnet/minecraft/entity/ai/pathing/PathNode;
    • setLength

      public void setLength(int length)
      Mappings:
      Namespace Name Mixin selector
      official b Lebb;b(I)V
      intermediary method_36 Lnet/minecraft/class_11;method_36(I)V
      named setLength Lnet/minecraft/entity/ai/pathing/Path;setLength(I)V
    • setNode

      public void setNode(int index, PathNode node)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a(ILeaz;)V
      intermediary method_33 Lnet/minecraft/class_11;method_33(ILnet/minecraft/class_9;)V
      named setNode Lnet/minecraft/entity/ai/pathing/Path;setNode(ILnet/minecraft/entity/ai/pathing/PathNode;)V
    • getLength

      public int getLength()
      Mappings:
      Namespace Name Mixin selector
      official e Lebb;e()I
      intermediary method_38 Lnet/minecraft/class_11;method_38()I
      named getLength Lnet/minecraft/entity/ai/pathing/Path;getLength()I
    • getCurrentNodeIndex

      public int getCurrentNodeIndex()
      Mappings:
      Namespace Name Mixin selector
      official f Lebb;f()I
      intermediary method_39 Lnet/minecraft/class_11;method_39()I
      named getCurrentNodeIndex Lnet/minecraft/entity/ai/pathing/Path;getCurrentNodeIndex()I
    • setCurrentNodeIndex

      public void setCurrentNodeIndex(int nodeIndex)
      Mappings:
      Namespace Name Mixin selector
      official c Lebb;c(I)V
      intermediary method_42 Lnet/minecraft/class_11;method_42(I)V
      named setCurrentNodeIndex Lnet/minecraft/entity/ai/pathing/Path;setCurrentNodeIndex(I)V
    • getNodePosition

      public Vec3d getNodePosition(Entity entity, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a(Lbiq;I)Lehn;
      intermediary method_47 Lnet/minecraft/class_11;method_47(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_243;
      named getNodePosition Lnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/util/math/Vec3d;
    • getNodePos

      public BlockPos getNodePos(int index)
      Mappings:
      Namespace Name Mixin selector
      official d Lebb;d(I)Lgw;
      intermediary method_31031 Lnet/minecraft/class_11;method_31031(I)Lnet/minecraft/class_2338;
      named getNodePos Lnet/minecraft/entity/ai/pathing/Path;getNodePos(I)Lnet/minecraft/util/math/BlockPos;
    • getNodePosition

      public Vec3d getNodePosition(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a(Lbiq;)Lehn;
      intermediary method_49 Lnet/minecraft/class_11;method_49(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;
      named getNodePosition Lnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
    • getCurrentNodePos

      public BlockPos getCurrentNodePos()
      Mappings:
      Namespace Name Mixin selector
      official g Lebb;g()Lgw;
      intermediary method_31032 Lnet/minecraft/class_11;method_31032()Lnet/minecraft/class_2338;
      named getCurrentNodePos Lnet/minecraft/entity/ai/pathing/Path;getCurrentNodePos()Lnet/minecraft/util/math/BlockPos;
    • getCurrentNode

      public PathNode getCurrentNode()
      Mappings:
      Namespace Name Mixin selector
      official h Lebb;h()Leaz;
      intermediary method_29301 Lnet/minecraft/class_11;method_29301()Lnet/minecraft/class_9;
      named getCurrentNode Lnet/minecraft/entity/ai/pathing/Path;getCurrentNode()Lnet/minecraft/entity/ai/pathing/PathNode;
    • getLastNode

      @Nullable public @Nullable PathNode getLastNode()
      Mappings:
      Namespace Name Mixin selector
      official i Lebb;i()Leaz;
      intermediary method_30850 Lnet/minecraft/class_11;method_30850()Lnet/minecraft/class_9;
      named getLastNode Lnet/minecraft/entity/ai/pathing/Path;getLastNode()Lnet/minecraft/entity/ai/pathing/PathNode;
    • equalsPath

      public boolean equalsPath(@Nullable @Nullable Path o)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a(Lebb;)Z
      intermediary method_41 Lnet/minecraft/class_11;method_41(Lnet/minecraft/class_11;)Z
      named equalsPath Lnet/minecraft/entity/ai/pathing/Path;equalsPath(Lnet/minecraft/entity/ai/pathing/Path;)Z
    • reachesTarget

      public boolean reachesTarget()
      Mappings:
      Namespace Name Mixin selector
      official j Lebb;j()Z
      intermediary method_21655 Lnet/minecraft/class_11;method_21655()Z
      named reachesTarget Lnet/minecraft/entity/ai/pathing/Path;reachesTarget()Z
    • setDebugInfo

      void setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a([Leaz;[Leaz;Ljava/util/Set;)V
      intermediary method_35500 Lnet/minecraft/class_11;method_35500([Lnet/minecraft/class_9;[Lnet/minecraft/class_9;Ljava/util/Set;)V
      named setDebugInfo Lnet/minecraft/entity/ai/pathing/Path;setDebugInfo([Lnet/minecraft/entity/ai/pathing/PathNode;[Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Set;)V
    • getDebugNodeInfos

      @Nullable public @Nullable Path.DebugNodeInfo getDebugNodeInfos()
      Mappings:
      Namespace Name Mixin selector
      official k Lebb;k()Lebb$a;
      intermediary method_52604 Lnet/minecraft/class_11;method_52604()Lnet/minecraft/class_11$class_8644;
      named getDebugNodeInfos Lnet/minecraft/entity/ai/pathing/Path;getDebugNodeInfos()Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;
    • toBuf

      public void toBuf(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a(Lso;)V
      intermediary method_35498 Lnet/minecraft/class_11;method_35498(Lnet/minecraft/class_2540;)V
      named toBuf Lnet/minecraft/entity/ai/pathing/Path;toBuf(Lnet/minecraft/network/PacketByteBuf;)V
    • fromBuf

      public static Path fromBuf(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official b Lebb;b(Lso;)Lebb;
      intermediary method_34 Lnet/minecraft/class_11;method_34(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11;
      named fromBuf Lnet/minecraft/entity/ai/pathing/Path;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/Path;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTarget

      public BlockPos getTarget()
      Mappings:
      Namespace Name Mixin selector
      official l Lebb;l()Lgw;
      intermediary method_48 Lnet/minecraft/class_11;method_48()Lnet/minecraft/class_2338;
      named getTarget Lnet/minecraft/entity/ai/pathing/Path;getTarget()Lnet/minecraft/util/math/BlockPos;
    • getManhattanDistanceFromTarget

      public float getManhattanDistanceFromTarget()
      Mappings:
      Namespace Name Mixin selector
      official m Lebb;m()F
      intermediary method_21656 Lnet/minecraft/class_11;method_21656()F
      named getManhattanDistanceFromTarget Lnet/minecraft/entity/ai/pathing/Path;getManhattanDistanceFromTarget()F
    • nodesFromBuf

      static PathNode[] nodesFromBuf(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official c Lebb;c(Lso;)[Leaz;
      intermediary method_52603 Lnet/minecraft/class_11;method_52603(Lnet/minecraft/class_2540;)[Lnet/minecraft/class_9;
      named nodesFromBuf Lnet/minecraft/entity/ai/pathing/Path;nodesFromBuf(Lnet/minecraft/network/PacketByteBuf;)[Lnet/minecraft/entity/ai/pathing/PathNode;
    • write

      static void write(PacketByteBuf buf, PathNode[] nodes)
      Mappings:
      Namespace Name Mixin selector
      official a Lebb;a(Lso;[Leaz;)V
      intermediary method_52602 Lnet/minecraft/class_11;method_52602(Lnet/minecraft/class_2540;[Lnet/minecraft/class_9;)V
      named write Lnet/minecraft/entity/ai/pathing/Path;write(Lnet/minecraft/network/PacketByteBuf;[Lnet/minecraft/entity/ai/pathing/PathNode;)V
    • copy

      public Path copy()
      Mappings:
      Namespace Name Mixin selector
      official n Lebb;n()Lebb;
      intermediary method_52605 Lnet/minecraft/class_11;method_52605()Lnet/minecraft/class_11;
      named copy Lnet/minecraft/entity/ai/pathing/Path;copy()Lnet/minecraft/entity/ai/pathing/Path;