Package net.minecraft.entity.ai.pathing
Class Path
java.lang.Object
net.minecraft.entity.ai.pathing.Path
- Mappings:
Namespace Name official dxqintermediary net/minecraft/class_11named net/minecraft/entity/ai/pathing/Path
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PathfromBuffer(PacketByteBuf buffer) intPathNode[]PathNode[]getEnd()intfloatgetNode(int index) getNodePos(int index) getNodePosition(Entity entity) getNodePosition(Entity entity, int index) booleanbooleanisStart()voidnext()booleanvoidsetCurrentNodeIndex(int nodeIndex) (package private) voidsetDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) voidsetLength(int length) voidvoidtoBuffer(PacketByteBuf buffer) toString()
-
Field Details
-
nodes
- Mappings:
Namespace Name Mixin selector official aLdxq;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;
-
debugNodes
- Mappings:
Namespace Name Mixin selector official bLdxq;b:[Ldxo;intermediary field_57Lnet/minecraft/class_11;field_57:[Lnet/minecraft/class_9;named debugNodesLnet/minecraft/entity/ai/pathing/Path;debugNodes:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
debugSecondNodes
- Mappings:
Namespace Name Mixin selector official cLdxq;c:[Ldxo;intermediary field_55Lnet/minecraft/class_11;field_55:[Lnet/minecraft/class_9;named debugSecondNodesLnet/minecraft/entity/ai/pathing/Path;debugSecondNodes:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
debugTargetNodes
- Mappings:
Namespace Name Mixin selector official dLdxq;d:Ljava/util/Set;intermediary field_20300Lnet/minecraft/class_11;field_20300:Ljava/util/Set;named debugTargetNodesLnet/minecraft/entity/ai/pathing/Path;debugTargetNodes:Ljava/util/Set;
-
currentNodeIndex
private int currentNodeIndex- Mappings:
Namespace Name Mixin selector official eLdxq;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 fLdxq;f:Lgu;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 gLdxq;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 hLdxq;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>Ldxq;<init>(Ljava/util/List;Lgu;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 aLdxq;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 bLdxq;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 cLdxq;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 dLdxq;d()Ldxo;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 aLdxq;a(I)Ldxo;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 bLdxq;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 aLdxq;a(ILdxo;)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 eLdxq;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 fLdxq;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 cLdxq;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 aLdxq;a(Lbfh;I)Leea;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 dLdxq;d(I)Lgu;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 aLdxq;a(Lbfh;)Leea;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 gLdxq;g()Lgu;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 hLdxq;h()Ldxo;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 iLdxq;i()Ldxo;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 aLdxq;a(Ldxq;)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 jLdxq;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 aLdxq;a([Ldxo;[Ldxo;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
-
getDebugNodes
- Mappings:
Namespace Name Mixin selector official kLdxq;k()[Ldxo;intermediary method_22880Lnet/minecraft/class_11;method_22880()[Lnet/minecraft/class_9;named getDebugNodesLnet/minecraft/entity/ai/pathing/Path;getDebugNodes()[Lnet/minecraft/entity/ai/pathing/PathNode;
-
getDebugSecondNodes
- Mappings:
Namespace Name Mixin selector official lLdxq;l()[Ldxo;intermediary method_22881Lnet/minecraft/class_11;method_22881()[Lnet/minecraft/class_9;named getDebugSecondNodesLnet/minecraft/entity/ai/pathing/Path;getDebugSecondNodes()[Lnet/minecraft/entity/ai/pathing/PathNode;
-
toBuffer
- Mappings:
Namespace Name Mixin selector official aLdxq;a(Lsf;)Vintermediary method_35498Lnet/minecraft/class_11;method_35498(Lnet/minecraft/class_2540;)Vnamed toBufferLnet/minecraft/entity/ai/pathing/Path;toBuffer(Lnet/minecraft/network/PacketByteBuf;)V
-
fromBuffer
- Mappings:
Namespace Name Mixin selector official bLdxq;b(Lsf;)Ldxq;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 mLdxq;m()Lgu;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 nLdxq;n()Fintermediary method_21656Lnet/minecraft/class_11;method_21656()Fnamed getManhattanDistanceFromTargetLnet/minecraft/entity/ai/pathing/Path;getManhattanDistanceFromTarget()F
-