Package net.minecraft.entity.ai.pathing
Class Path
java.lang.Object
net.minecraft.entity.ai.pathing.Path
- Mappings:
Namespace Name intermediary net/minecraft/class_11official dxqnamed 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 intermediary field_52Lnet/minecraft/class_11;field_52:Ljava/util/List;official aLdxq;a:Ljava/util/List;named nodesLnet/minecraft/entity/ai/pathing/Path;nodes:Ljava/util/List;
-
debugNodes
- Mappings:
Namespace Name Mixin selector intermediary field_57Lnet/minecraft/class_11;field_57:[Lnet/minecraft/class_9;official bLdxq;b:[Ldxo;named debugNodesLnet/minecraft/entity/ai/pathing/Path;debugNodes:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
debugSecondNodes
- Mappings:
Namespace Name Mixin selector intermediary field_55Lnet/minecraft/class_11;field_55:[Lnet/minecraft/class_9;official cLdxq;c:[Ldxo;named debugSecondNodesLnet/minecraft/entity/ai/pathing/Path;debugSecondNodes:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
debugTargetNodes
- Mappings:
Namespace Name Mixin selector intermediary field_20300Lnet/minecraft/class_11;field_20300:Ljava/util/Set;official dLdxq;d:Ljava/util/Set;named debugTargetNodesLnet/minecraft/entity/ai/pathing/Path;debugTargetNodes:Ljava/util/Set;
-
currentNodeIndex
private int currentNodeIndex- Mappings:
Namespace Name Mixin selector intermediary field_54Lnet/minecraft/class_11;field_54:Iofficial eLdxq;e:Inamed currentNodeIndexLnet/minecraft/entity/ai/pathing/Path;currentNodeIndex:I
-
target
- Mappings:
Namespace Name Mixin selector intermediary field_20301Lnet/minecraft/class_11;field_20301:Lnet/minecraft/class_2338;official fLdxq;f:Lgu;named targetLnet/minecraft/entity/ai/pathing/Path;target:Lnet/minecraft/util/math/BlockPos;
-
manhattanDistanceFromTarget
private final float manhattanDistanceFromTarget- Mappings:
Namespace Name Mixin selector intermediary field_20302Lnet/minecraft/class_11;field_20302:Fofficial gLdxq;g:Fnamed manhattanDistanceFromTargetLnet/minecraft/entity/ai/pathing/Path;manhattanDistanceFromTarget:F
-
reachesTarget
private final boolean reachesTarget- Mappings:
Namespace Name Mixin selector intermediary field_20303Lnet/minecraft/class_11;field_20303:Zofficial hLdxq;h:Znamed reachesTargetLnet/minecraft/entity/ai/pathing/Path;reachesTarget:Z
-
-
Constructor Details
-
Path
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_11;<init>(Ljava/util/List;Lnet/minecraft/class_2338;Z)Vofficial <init>Ldxq;<init>(Ljava/util/List;Lgu;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 intermediary method_44Lnet/minecraft/class_11;method_44()Vofficial aLdxq;a()Vnamed nextLnet/minecraft/entity/ai/pathing/Path;next()V
-
isStart
public boolean isStart()- Mappings:
Namespace Name Mixin selector intermediary method_30849Lnet/minecraft/class_11;method_30849()Zofficial bLdxq;b()Znamed isStartLnet/minecraft/entity/ai/pathing/Path;isStart()Z
-
isFinished
public boolean isFinished()- Mappings:
Namespace Name Mixin selector intermediary method_46Lnet/minecraft/class_11;method_46()Zofficial cLdxq;c()Znamed isFinishedLnet/minecraft/entity/ai/pathing/Path;isFinished()Z
-
getEnd
- Mappings:
Namespace Name Mixin selector intermediary method_45Lnet/minecraft/class_11;method_45()Lnet/minecraft/class_9;official dLdxq;d()Ldxo;named getEndLnet/minecraft/entity/ai/pathing/Path;getEnd()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getNode
- Mappings:
Namespace Name Mixin selector intermediary method_40Lnet/minecraft/class_11;method_40(I)Lnet/minecraft/class_9;official aLdxq;a(I)Ldxo;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 intermediary method_36Lnet/minecraft/class_11;method_36(I)Vofficial bLdxq;b(I)Vnamed setLengthLnet/minecraft/entity/ai/pathing/Path;setLength(I)V
-
setNode
- Mappings:
Namespace Name Mixin selector intermediary method_33Lnet/minecraft/class_11;method_33(ILnet/minecraft/class_9;)Vofficial aLdxq;a(ILdxo;)Vnamed setNodeLnet/minecraft/entity/ai/pathing/Path;setNode(ILnet/minecraft/entity/ai/pathing/PathNode;)V
-
getLength
public int getLength()- Mappings:
Namespace Name Mixin selector intermediary method_38Lnet/minecraft/class_11;method_38()Iofficial eLdxq;e()Inamed getLengthLnet/minecraft/entity/ai/pathing/Path;getLength()I
-
getCurrentNodeIndex
public int getCurrentNodeIndex()- Mappings:
Namespace Name Mixin selector intermediary method_39Lnet/minecraft/class_11;method_39()Iofficial fLdxq;f()Inamed getCurrentNodeIndexLnet/minecraft/entity/ai/pathing/Path;getCurrentNodeIndex()I
-
setCurrentNodeIndex
public void setCurrentNodeIndex(int nodeIndex) - Mappings:
Namespace Name Mixin selector intermediary method_42Lnet/minecraft/class_11;method_42(I)Vofficial cLdxq;c(I)Vnamed setCurrentNodeIndexLnet/minecraft/entity/ai/pathing/Path;setCurrentNodeIndex(I)V
-
getNodePosition
- Mappings:
Namespace Name Mixin selector intermediary method_47Lnet/minecraft/class_11;method_47(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_243;official aLdxq;a(Lbfh;I)Leea;named getNodePositionLnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/util/math/Vec3d;
-
getNodePos
- Mappings:
Namespace Name Mixin selector intermediary method_31031Lnet/minecraft/class_11;method_31031(I)Lnet/minecraft/class_2338;official dLdxq;d(I)Lgu;named getNodePosLnet/minecraft/entity/ai/pathing/Path;getNodePos(I)Lnet/minecraft/util/math/BlockPos;
-
getNodePosition
- Mappings:
Namespace Name Mixin selector intermediary method_49Lnet/minecraft/class_11;method_49(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;official aLdxq;a(Lbfh;)Leea;named getNodePositionLnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
-
getCurrentNodePos
- Mappings:
Namespace Name Mixin selector intermediary method_31032Lnet/minecraft/class_11;method_31032()Lnet/minecraft/class_2338;official gLdxq;g()Lgu;named getCurrentNodePosLnet/minecraft/entity/ai/pathing/Path;getCurrentNodePos()Lnet/minecraft/util/math/BlockPos;
-
getCurrentNode
- Mappings:
Namespace Name Mixin selector intermediary method_29301Lnet/minecraft/class_11;method_29301()Lnet/minecraft/class_9;official hLdxq;h()Ldxo;named getCurrentNodeLnet/minecraft/entity/ai/pathing/Path;getCurrentNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
getLastNode
- Mappings:
Namespace Name Mixin selector intermediary method_30850Lnet/minecraft/class_11;method_30850()Lnet/minecraft/class_9;official iLdxq;i()Ldxo;named getLastNodeLnet/minecraft/entity/ai/pathing/Path;getLastNode()Lnet/minecraft/entity/ai/pathing/PathNode;
-
equalsPath
- Mappings:
Namespace Name Mixin selector intermediary method_41Lnet/minecraft/class_11;method_41(Lnet/minecraft/class_11;)Zofficial aLdxq;a(Ldxq;)Znamed equalsPathLnet/minecraft/entity/ai/pathing/Path;equalsPath(Lnet/minecraft/entity/ai/pathing/Path;)Z
-
reachesTarget
public boolean reachesTarget()- Mappings:
Namespace Name Mixin selector intermediary method_21655Lnet/minecraft/class_11;method_21655()Zofficial jLdxq;j()Znamed reachesTargetLnet/minecraft/entity/ai/pathing/Path;reachesTarget()Z
-
setDebugInfo
void setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) - Mappings:
Namespace Name Mixin selector intermediary method_35500Lnet/minecraft/class_11;method_35500([Lnet/minecraft/class_9;[Lnet/minecraft/class_9;Ljava/util/Set;)Vofficial aLdxq;a([Ldxo;[Ldxo;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 intermediary method_22880Lnet/minecraft/class_11;method_22880()[Lnet/minecraft/class_9;official kLdxq;k()[Ldxo;named getDebugNodesLnet/minecraft/entity/ai/pathing/Path;getDebugNodes()[Lnet/minecraft/entity/ai/pathing/PathNode;
-
getDebugSecondNodes
- Mappings:
Namespace Name Mixin selector intermediary method_22881Lnet/minecraft/class_11;method_22881()[Lnet/minecraft/class_9;official lLdxq;l()[Ldxo;named getDebugSecondNodesLnet/minecraft/entity/ai/pathing/Path;getDebugSecondNodes()[Lnet/minecraft/entity/ai/pathing/PathNode;
-
toBuffer
- Mappings:
Namespace Name Mixin selector intermediary method_35498Lnet/minecraft/class_11;method_35498(Lnet/minecraft/class_2540;)Vofficial aLdxq;a(Lsf;)Vnamed toBufferLnet/minecraft/entity/ai/pathing/Path;toBuffer(Lnet/minecraft/network/PacketByteBuf;)V
-
fromBuffer
- Mappings:
Namespace Name Mixin selector intermediary method_34Lnet/minecraft/class_11;method_34(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11;official bLdxq;b(Lsf;)Ldxq;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 intermediary method_48Lnet/minecraft/class_11;method_48()Lnet/minecraft/class_2338;official mLdxq;m()Lgu;named getTargetLnet/minecraft/entity/ai/pathing/Path;getTarget()Lnet/minecraft/util/math/BlockPos;
-
getManhattanDistanceFromTarget
public float getManhattanDistanceFromTarget()- Mappings:
Namespace Name Mixin selector intermediary method_21656Lnet/minecraft/class_11;method_21656()Fofficial nLdxq;n()Fnamed getManhattanDistanceFromTargetLnet/minecraft/entity/ai/pathing/Path;getManhattanDistanceFromTarget()F
-