Package net.minecraft.entity.ai.pathing
Class Path
java.lang.Object
net.minecraft.entity.ai.pathing.Path
- Mappings:
Namespace Name official eaqintermediary net/minecraft/class_11named net/minecraft/entity/ai/pathing/Path
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate @Nullable Path.DebugNodeInfoprivate final floatprivate final booleanprivate final BlockPos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanstatic PathfromBuf(PacketByteBuf buf) intgetEnd()intfloatgetNode(int index) getNodePos(int index) getNodePosition(Entity entity) getNodePosition(Entity entity, int index) booleanbooleanisStart()voidnext()(package private) static PathNode[]booleanvoidsetCurrentNodeIndex(int nodeIndex) (package private) voidsetDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) voidsetLength(int length) voidvoidtoBuf(PacketByteBuf buf) toString()(package private) static voidwrite(PacketByteBuf buf, PathNode[] nodes)
-
Field Details
-
nodes
- Mappings:
Namespace Name Mixin selector official aLeaq;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;
-
debugNodeInfos
- Mappings:
Namespace Name Mixin selector official bLeaq;b:Leaq$a;intermediary field_45155Lnet/minecraft/class_11;field_45155:Lnet/minecraft/class_11$class_8644;named debugNodeInfosLnet/minecraft/entity/ai/pathing/Path;debugNodeInfos:Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;
-
currentNodeIndex
private int currentNodeIndex- Mappings:
Namespace Name Mixin selector official cLeaq;c:Iintermediary field_54Lnet/minecraft/class_11;field_54:Inamed currentNodeIndexLnet/minecraft/entity/ai/pathing/Path;currentNodeIndex:I
-
target
- Mappings:
Namespace Name Mixin selector official dLeaq;d:Lgv;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 eLeaq;e: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 fLeaq;f: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>Leaq;<init>(Ljava/util/List;Lgv;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 aLeaq;a()Vintermediary method_44Lnet/minecraft/class_11;method_44()Vnamed nextLnet/minecraft/entity/ai/pathing/Path;next()V
-
isStart
public boolean isStart()- Mappings:
Namespace Name Mixin selector official bLeaq;b()Zintermediary method_30849Lnet/minecraft/class_11;method_30849()Znamed isStartLnet/minecraft/entity/ai/pathing/Path;isStart()Z
-
isFinished
public boolean isFinished()- Mappings:
Namespace Name Mixin selector official cLeaq;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 dLeaq;d()Leao;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 aLeaq;a(I)Leao;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 bLeaq;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 aLeaq;a(ILeao;)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 eLeaq;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 fLeaq;f()Iintermediary method_39Lnet/minecraft/class_11;method_39()Inamed getCurrentNodeIndexLnet/minecraft/entity/ai/pathing/Path;getCurrentNodeIndex()I
-
setCurrentNodeIndex
public void setCurrentNodeIndex(int nodeIndex) - Mappings:
Namespace Name Mixin selector official cLeaq;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 aLeaq;a(Lbig;I)Lehf;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;
-
getNodePos
- Mappings:
Namespace Name Mixin selector official dLeaq;d(I)Lgv;intermediary method_31031Lnet/minecraft/class_11;method_31031(I)Lnet/minecraft/class_2338;named getNodePosLnet/minecraft/entity/ai/pathing/Path;getNodePos(I)Lnet/minecraft/util/math/BlockPos;
-
getNodePosition
- Mappings:
Namespace Name Mixin selector official aLeaq;a(Lbig;)Lehf;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;
-
getCurrentNodePos
- Mappings:
Namespace Name Mixin selector official gLeaq;g()Lgv;intermediary method_31032Lnet/minecraft/class_11;method_31032()Lnet/minecraft/class_2338;named getCurrentNodePosLnet/minecraft/entity/ai/pathing/Path;getCurrentNodePos()Lnet/minecraft/util/math/BlockPos;
-
getCurrentNode
- Mappings:
Namespace Name Mixin selector official hLeaq;h()Leao;intermediary method_29301Lnet/minecraft/class_11;method_29301()Lnet/minecraft/class_9;named getCurrentNodeLnet/minecraft/entity/ai/pathing/Path;getCurrentNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getLastNode
- Mappings:
Namespace Name Mixin selector official iLeaq;i()Leao;intermediary method_30850Lnet/minecraft/class_11;method_30850()Lnet/minecraft/class_9;named getLastNodeLnet/minecraft/entity/ai/pathing/Path;getLastNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
equalsPath
- Mappings:
Namespace Name Mixin selector official aLeaq;a(Leaq;)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 jLeaq;j()Zintermediary method_21655Lnet/minecraft/class_11;method_21655()Znamed reachesTargetLnet/minecraft/entity/ai/pathing/Path;reachesTarget()Z
-
setDebugInfo
void setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) - Mappings:
Namespace Name Mixin selector official aLeaq;a([Leao;[Leao;Ljava/util/Set;)Vintermediary method_35500Lnet/minecraft/class_11;method_35500([Lnet/minecraft/class_9;[Lnet/minecraft/class_9;Ljava/util/Set;)Vnamed setDebugInfoLnet/minecraft/entity/ai/pathing/Path;setDebugInfo([Lnet/minecraft/entity/ai/pathing/PathNode;[Lnet/minecraft/entity/ai/pathing/PathNode;Ljava/util/Set;)V
-
getDebugNodeInfos
- Mappings:
Namespace Name Mixin selector official kLeaq;k()Leaq$a;intermediary method_52604Lnet/minecraft/class_11;method_52604()Lnet/minecraft/class_11$class_8644;named getDebugNodeInfosLnet/minecraft/entity/ai/pathing/Path;getDebugNodeInfos()Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;
-
toBuf
- Mappings:
Namespace Name Mixin selector official aLeaq;a(Lsh;)Vintermediary method_35498Lnet/minecraft/class_11;method_35498(Lnet/minecraft/class_2540;)Vnamed toBufLnet/minecraft/entity/ai/pathing/Path;toBuf(Lnet/minecraft/network/PacketByteBuf;)V
-
fromBuf
- Mappings:
Namespace Name Mixin selector official bLeaq;b(Lsh;)Leaq;intermediary method_34Lnet/minecraft/class_11;method_34(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11;named fromBufLnet/minecraft/entity/ai/pathing/Path;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/Path;
-
toString
-
getTarget
- Mappings:
Namespace Name Mixin selector official lLeaq;l()Lgv;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 mLeaq;m()Fintermediary method_21656Lnet/minecraft/class_11;method_21656()Fnamed getManhattanDistanceFromTargetLnet/minecraft/entity/ai/pathing/Path;getManhattanDistanceFromTarget()F
-
nodesFromBuf
- Mappings:
Namespace Name Mixin selector official cLeaq;c(Lsh;)[Leao;intermediary method_52603Lnet/minecraft/class_11;method_52603(Lnet/minecraft/class_2540;)[Lnet/minecraft/class_9;named nodesFromBufLnet/minecraft/entity/ai/pathing/Path;nodesFromBuf(Lnet/minecraft/network/PacketByteBuf;)[Lnet/minecraft/entity/ai/pathing/PathNode;
-
write
- Mappings:
Namespace Name Mixin selector official aLeaq;a(Lsh;[Leao;)Vintermediary method_52602Lnet/minecraft/class_11;method_52602(Lnet/minecraft/class_2540;[Lnet/minecraft/class_9;)Vnamed writeLnet/minecraft/entity/ai/pathing/Path;write(Lnet/minecraft/network/PacketByteBuf;[Lnet/minecraft/entity/ai/pathing/PathNode;)V
-
copy
- Mappings:
Namespace Name Mixin selector official nLeaq;n()Leaq;intermediary method_52605Lnet/minecraft/class_11;method_52605()Lnet/minecraft/class_11;named copyLnet/minecraft/entity/ai/pathing/Path;copy()Lnet/minecraft/entity/ai/pathing/Path;
-