Package net.minecraft.entity.ai.pathing
Class Path
java.lang.Object
net.minecraft.entity.ai.pathing.Path
public class Path extends Object
- Mappings:
Namespace Name official dfyintermediary net/minecraft/class_11named net/minecraft/entity/ai/pathing/Path
-
Field Summary
Fields Modifier and Type Field Description private intcurrentNodeIndexprivate Set<TargetPathNode>field_20300private PathNode[]field_55private PathNode[]field_57private floatmanhattanDistanceFromTargetprivate List<PathNode>nodesprivate booleanreachesTargetprivate BlockPostarget -
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequalsPath(@Nullable Path path)static PathfromBuffer(PacketByteBuf buffer)intgetCurrentNodeIndex()@Nullable PathNodegetEnd()intgetLength()floatgetManhattanDistanceFromTarget()PathNodegetNode(int index)Vec3dgetNodePosition(Entity entity)Vec3dgetNodePosition(Entity entity, int index)BlockPosgetTarget()booleanisFinished()PathNode[]method_22880()PathNode[]method_22881()PathNodemethod_29301()booleanmethod_30849()@Nullable PathNodemethod_30850()BlockPosmethod_31031(int int2)BlockPosmethod_31032()voidmethod_35498(PacketByteBuf packetByteBuf)(package private) voidmethod_35500(PathNode[] pathNode, PathNode[] pathNode2, Set<TargetPathNode> set)voidnext()booleanreachesTarget()voidsetCurrentNodeIndex(int index)voidsetLength(int length)voidsetNode(int index, PathNode node)StringtoString()
-
Field Details
-
nodes
- Mappings:
Namespace Name Mixin selector official aLdfy;a:Ljava/util/List;intermediary field_52Lnet/minecraft/class_11;field_52:Ljava/util/List;named nodesLnet/minecraft/entity/ai/pathing/Path;nodes:Ljava/util/List;
-
field_57
- Mappings:
Namespace Name Mixin selector official bLdfy;b:[Ldfw;intermediary field_57Lnet/minecraft/class_11;field_57:[Lnet/minecraft/class_9;named field_57Lnet/minecraft/entity/ai/pathing/Path;field_57:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
field_55
- Mappings:
Namespace Name Mixin selector official cLdfy;c:[Ldfw;intermediary field_55Lnet/minecraft/class_11;field_55:[Lnet/minecraft/class_9;named field_55Lnet/minecraft/entity/ai/pathing/Path;field_55:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
field_20300
- Mappings:
Namespace Name Mixin selector official dLdfy;d:Ljava/util/Set;intermediary field_20300Lnet/minecraft/class_11;field_20300:Ljava/util/Set;named field_20300Lnet/minecraft/entity/ai/pathing/Path;field_20300:Ljava/util/Set;
-
currentNodeIndex
private int currentNodeIndex- Mappings:
Namespace Name Mixin selector official eLdfy;e:Iintermediary field_54Lnet/minecraft/class_11;field_54:Inamed currentNodeIndexLnet/minecraft/entity/ai/pathing/Path;currentNodeIndex:I
-
target
- Mappings:
Namespace Name Mixin selector official fLdfy;f:Lgb;intermediary field_20301Lnet/minecraft/class_11;field_20301:Lnet/minecraft/class_2338;named targetLnet/minecraft/entity/ai/pathing/Path;target:Lnet/minecraft/util/math/BlockPos;
-
manhattanDistanceFromTarget
private final float manhattanDistanceFromTarget- Mappings:
Namespace Name Mixin selector official gLdfy;g:Fintermediary field_20302Lnet/minecraft/class_11;field_20302:Fnamed manhattanDistanceFromTargetLnet/minecraft/entity/ai/pathing/Path;manhattanDistanceFromTarget:F
-
reachesTarget
private final boolean reachesTarget- Mappings:
Namespace Name Mixin selector official hLdfy;h:Zintermediary field_20303Lnet/minecraft/class_11;field_20303:Znamed reachesTargetLnet/minecraft/entity/ai/pathing/Path;reachesTarget:Z
-
-
Constructor Details
-
Path
- Mappings:
Namespace Name Mixin selector official <init>Ldfy;<init>(Ljava/util/List;Lgb;Z)Vintermediary <init>Lnet/minecraft/class_11;<init>(Ljava/util/List;Lnet/minecraft/class_2338;Z)Vnamed <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 aLdfy;a()Vintermediary method_44Lnet/minecraft/class_11;method_44()Vnamed nextLnet/minecraft/entity/ai/pathing/Path;next()V
-
method_30849
public boolean method_30849()- Mappings:
Namespace Name Mixin selector official bLdfy;b()Zintermediary method_30849Lnet/minecraft/class_11;method_30849()Znamed method_30849Lnet/minecraft/entity/ai/pathing/Path;method_30849()Z
-
isFinished
public boolean isFinished()- Mappings:
Namespace Name Mixin selector official cLdfy;c()Zintermediary method_46Lnet/minecraft/class_11;method_46()Znamed isFinishedLnet/minecraft/entity/ai/pathing/Path;isFinished()Z
-
getEnd
- Mappings:
Namespace Name Mixin selector official dLdfy;d()Ldfw;intermediary method_45Lnet/minecraft/class_11;method_45()Lnet/minecraft/class_9;named getEndLnet/minecraft/entity/ai/pathing/Path;getEnd()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Mappings:
Namespace Name Mixin selector official aLdfy;a(I)Ldfw;intermediary method_40Lnet/minecraft/class_11;method_40(I)Lnet/minecraft/class_9;named getNodeLnet/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 bLdfy;b(I)Vintermediary method_36Lnet/minecraft/class_11;method_36(I)Vnamed setLengthLnet/minecraft/entity/ai/pathing/Path;setLength(I)V
-
setNode
- Mappings:
Namespace Name Mixin selector official aLdfy;a(ILdfw;)Vintermediary method_33Lnet/minecraft/class_11;method_33(ILnet/minecraft/class_9;)Vnamed setNodeLnet/minecraft/entity/ai/pathing/Path;setNode(ILnet/minecraft/entity/ai/pathing/PathNode;)V
-
getLength
public int getLength()- Mappings:
Namespace Name Mixin selector official eLdfy;e()Iintermediary method_38Lnet/minecraft/class_11;method_38()Inamed getLengthLnet/minecraft/entity/ai/pathing/Path;getLength()I
-
getCurrentNodeIndex
public int getCurrentNodeIndex()- Mappings:
Namespace Name Mixin selector official fLdfy;f()Iintermediary method_39Lnet/minecraft/class_11;method_39()Inamed getCurrentNodeIndexLnet/minecraft/entity/ai/pathing/Path;getCurrentNodeIndex()I
-
setCurrentNodeIndex
public void setCurrentNodeIndex(int index)- Mappings:
Namespace Name Mixin selector official cLdfy;c(I)Vintermediary method_42Lnet/minecraft/class_11;method_42(I)Vnamed setCurrentNodeIndexLnet/minecraft/entity/ai/pathing/Path;setCurrentNodeIndex(I)V
-
getNodePosition
- Mappings:
Namespace Name Mixin selector official aLdfy;a(Lasl;I)Ldly;intermediary method_47Lnet/minecraft/class_11;method_47(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_243;named getNodePositionLnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/util/math/Vec3d;
-
method_31031
- Mappings:
Namespace Name Mixin selector official dLdfy;d(I)Lgb;intermediary method_31031Lnet/minecraft/class_11;method_31031(I)Lnet/minecraft/class_2338;named method_31031Lnet/minecraft/entity/ai/pathing/Path;method_31031(I)Lnet/minecraft/util/math/BlockPos;
-
getNodePosition
- Mappings:
Namespace Name Mixin selector official aLdfy;a(Lasl;)Ldly;intermediary method_49Lnet/minecraft/class_11;method_49(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;named getNodePositionLnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
-
method_31032
- Mappings:
Namespace Name Mixin selector official gLdfy;g()Lgb;intermediary method_31032Lnet/minecraft/class_11;method_31032()Lnet/minecraft/class_2338;named method_31032Lnet/minecraft/entity/ai/pathing/Path;method_31032()Lnet/minecraft/util/math/BlockPos;
-
method_29301
- Mappings:
Namespace Name Mixin selector official hLdfy;h()Ldfw;intermediary method_29301Lnet/minecraft/class_11;method_29301()Lnet/minecraft/class_9;named method_29301Lnet/minecraft/entity/ai/pathing/Path;method_29301()Lnet/minecraft/entity/ai/pathing/PathNode;
-
method_30850
- Mappings:
Namespace Name Mixin selector official iLdfy;i()Ldfw;intermediary method_30850Lnet/minecraft/class_11;method_30850()Lnet/minecraft/class_9;named method_30850Lnet/minecraft/entity/ai/pathing/Path;method_30850()Lnet/minecraft/entity/ai/pathing/PathNode;
-
equalsPath
- Mappings:
Namespace Name Mixin selector official aLdfy;a(Ldfy;)Zintermediary method_41Lnet/minecraft/class_11;method_41(Lnet/minecraft/class_11;)Znamed equalsPathLnet/minecraft/entity/ai/pathing/Path;equalsPath(Lnet/minecraft/entity/ai/pathing/Path;)Z
-
reachesTarget
public boolean reachesTarget()- Mappings:
Namespace Name Mixin selector official jLdfy;j()Zintermediary method_21655Lnet/minecraft/class_11;method_21655()Znamed reachesTargetLnet/minecraft/entity/ai/pathing/Path;reachesTarget()Z
-
method_35500
- Mappings:
Namespace Name Mixin selector official aLdfy;a([Ldfw;[Ldfw;Ljava/util/Set;)Vintermediary method_35500Lnet/minecraft/class_11;method_35500([Lnet/minecraft/class_9;[Lnet/minecraft/class_9;Ljava/util/Set;)Vnamed method_35500Lnet/minecraft/entity/ai/pathing/Path;method_35500([Lnet/minecraft/entity/ai/pathing/PathNode;[Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Set;)V
-
method_22880
- Mappings:
Namespace Name Mixin selector official kLdfy;k()[Ldfw;intermediary method_22880Lnet/minecraft/class_11;method_22880()[Lnet/minecraft/class_9;named method_22880Lnet/minecraft/entity/ai/pathing/Path;method_22880()[Lnet/minecraft/entity/ai/pathing/PathNode;
-
method_22881
- Mappings:
Namespace Name Mixin selector official lLdfy;l()[Ldfw;intermediary method_22881Lnet/minecraft/class_11;method_22881()[Lnet/minecraft/class_9;named method_22881Lnet/minecraft/entity/ai/pathing/Path;method_22881()[Lnet/minecraft/entity/ai/pathing/PathNode;
-
method_35498
- Mappings:
Namespace Name Mixin selector official aLdfy;a(Lob;)Vintermediary method_35498Lnet/minecraft/class_11;method_35498(Lnet/minecraft/class_2540;)Vnamed method_35498Lnet/minecraft/entity/ai/pathing/Path;method_35498(Lnet/minecraft/network/PacketByteBuf;)V
-
fromBuffer
- Mappings:
Namespace Name Mixin selector official bLdfy;b(Lob;)Ldfy;intermediary method_34Lnet/minecraft/class_11;method_34(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11;named fromBufferLnet/minecraft/entity/ai/pathing/Path;fromBuffer(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/Path;
-
toString
-
getTarget
- Mappings:
Namespace Name Mixin selector official mLdfy;m()Lgb;intermediary method_48Lnet/minecraft/class_11;method_48()Lnet/minecraft/class_2338;named getTargetLnet/minecraft/entity/ai/pathing/Path;getTarget()Lnet/minecraft/util/math/BlockPos;
-
getManhattanDistanceFromTarget
public float getManhattanDistanceFromTarget()- Mappings:
Namespace Name Mixin selector official nLdfy;n()Fintermediary method_21656Lnet/minecraft/class_11;method_21656()Fnamed getManhattanDistanceFromTargetLnet/minecraft/entity/ai/pathing/Path;getManhattanDistanceFromTarget()F
-