Package net.minecraft.entity.ai.pathing
Class Path
java.lang.Object
net.minecraft.entity.ai.pathing.Path
- Mappings:
Namespace Name named net/minecraft/entity/ai/pathing/Path
intermediary net/minecraft/class_11
official eox
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private @Nullable Path.DebugNodeInfo
private final float
private final boolean
private final BlockPos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
static Path
fromBuf
(PacketByteBuf buf) int
getEnd()
int
float
getNode
(int index) getNodePos
(int index) getNodePosition
(Entity entity) getNodePosition
(Entity entity, int index) boolean
boolean
isStart()
void
next()
(package private) static PathNode[]
boolean
void
setCurrentNodeIndex
(int nodeIndex) (package private) void
setDebugInfo
(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) void
setLength
(int length) void
void
toBuf
(PacketByteBuf buf) toString()
(package private) static void
write
(PacketByteBuf buf, PathNode[] nodes)
-
Field Details
-
nodes
- Mappings:
Namespace Name Mixin selector named nodes
Lnet/minecraft/entity/ai/pathing/Path;nodes:Ljava/util/List;
intermediary field_52
Lnet/minecraft/class_11;field_52:Ljava/util/List;
official a
Leox;a:Ljava/util/List;
-
debugNodeInfos
- Mappings:
Namespace Name Mixin selector named debugNodeInfos
Lnet/minecraft/entity/ai/pathing/Path;debugNodeInfos:Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;
intermediary field_45155
Lnet/minecraft/class_11;field_45155:Lnet/minecraft/class_11$class_8644;
official b
Leox;b:Leox$a;
-
currentNodeIndex
private int currentNodeIndex- Mappings:
Namespace Name Mixin selector named currentNodeIndex
Lnet/minecraft/entity/ai/pathing/Path;currentNodeIndex:I
intermediary field_54
Lnet/minecraft/class_11;field_54:I
official c
Leox;c:I
-
target
- Mappings:
Namespace Name Mixin selector named target
Lnet/minecraft/entity/ai/pathing/Path;target:Lnet/minecraft/util/math/BlockPos;
intermediary field_20301
Lnet/minecraft/class_11;field_20301:Lnet/minecraft/class_2338;
official d
Leox;d:Lja;
-
manhattanDistanceFromTarget
private final float manhattanDistanceFromTarget- Mappings:
Namespace Name Mixin selector named manhattanDistanceFromTarget
Lnet/minecraft/entity/ai/pathing/Path;manhattanDistanceFromTarget:F
intermediary field_20302
Lnet/minecraft/class_11;field_20302:F
official e
Leox;e:F
-
reachesTarget
private final boolean reachesTarget- Mappings:
Namespace Name Mixin selector named reachesTarget
Lnet/minecraft/entity/ai/pathing/Path;reachesTarget:Z
intermediary field_20303
Lnet/minecraft/class_11;field_20303:Z
official f
Leox;f:Z
-
-
Constructor Details
-
Path
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/pathing/Path;<init>(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Z)V
intermediary <init>
Lnet/minecraft/class_11;<init>(Ljava/util/List;Lnet/minecraft/class_2338;Z)V
official <init>
Leox;<init>(Ljava/util/List;Lja;Z)V
-
-
Method Details
-
next
public void next()- Mappings:
Namespace Name Mixin selector named next
Lnet/minecraft/entity/ai/pathing/Path;next()V
intermediary method_44
Lnet/minecraft/class_11;method_44()V
official a
Leox;a()V
-
isStart
public boolean isStart()- Mappings:
Namespace Name Mixin selector named isStart
Lnet/minecraft/entity/ai/pathing/Path;isStart()Z
intermediary method_30849
Lnet/minecraft/class_11;method_30849()Z
official b
Leox;b()Z
-
isFinished
public boolean isFinished()- Mappings:
Namespace Name Mixin selector named isFinished
Lnet/minecraft/entity/ai/pathing/Path;isFinished()Z
intermediary method_46
Lnet/minecraft/class_11;method_46()Z
official c
Leox;c()Z
-
getEnd
- Mappings:
Namespace Name Mixin selector named getEnd
Lnet/minecraft/entity/ai/pathing/Path;getEnd()Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary method_45
Lnet/minecraft/class_11;method_45()Lnet/minecraft/class_9;
official d
Leox;d()Leov;
-
getNode
- Mappings:
Namespace Name Mixin selector named getNode
Lnet/minecraft/entity/ai/pathing/Path;getNode(I)Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary method_40
Lnet/minecraft/class_11;method_40(I)Lnet/minecraft/class_9;
official a
Leox;a(I)Leov;
-
setLength
public void setLength(int length) - Mappings:
Namespace Name Mixin selector named setLength
Lnet/minecraft/entity/ai/pathing/Path;setLength(I)V
intermediary method_36
Lnet/minecraft/class_11;method_36(I)V
official b
Leox;b(I)V
-
setNode
- Mappings:
Namespace Name Mixin selector named setNode
Lnet/minecraft/entity/ai/pathing/Path;setNode(ILnet/minecraft/entity/ai/pathing/PathNode;)V
intermediary method_33
Lnet/minecraft/class_11;method_33(ILnet/minecraft/class_9;)V
official a
Leox;a(ILeov;)V
-
getLength
public int getLength()- Mappings:
Namespace Name Mixin selector named getLength
Lnet/minecraft/entity/ai/pathing/Path;getLength()I
intermediary method_38
Lnet/minecraft/class_11;method_38()I
official e
Leox;e()I
-
getCurrentNodeIndex
public int getCurrentNodeIndex()- Mappings:
Namespace Name Mixin selector named getCurrentNodeIndex
Lnet/minecraft/entity/ai/pathing/Path;getCurrentNodeIndex()I
intermediary method_39
Lnet/minecraft/class_11;method_39()I
official f
Leox;f()I
-
setCurrentNodeIndex
public void setCurrentNodeIndex(int nodeIndex) - Mappings:
Namespace Name Mixin selector named setCurrentNodeIndex
Lnet/minecraft/entity/ai/pathing/Path;setCurrentNodeIndex(I)V
intermediary method_42
Lnet/minecraft/class_11;method_42(I)V
official c
Leox;c(I)V
-
getNodePosition
- Mappings:
Namespace Name Mixin selector named getNodePosition
Lnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;I)Lnet/minecraft/util/math/Vec3d;
intermediary method_47
Lnet/minecraft/class_11;method_47(Lnet/minecraft/class_1297;I)Lnet/minecraft/class_243;
official a
Leox;a(Lbsh;I)Lewh;
-
getNodePos
- Mappings:
Namespace Name Mixin selector named getNodePos
Lnet/minecraft/entity/ai/pathing/Path;getNodePos(I)Lnet/minecraft/util/math/BlockPos;
intermediary method_31031
Lnet/minecraft/class_11;method_31031(I)Lnet/minecraft/class_2338;
official d
Leox;d(I)Lja;
-
getNodePosition
- Mappings:
Namespace Name Mixin selector named getNodePosition
Lnet/minecraft/entity/ai/pathing/Path;getNodePosition(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
intermediary method_49
Lnet/minecraft/class_11;method_49(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;
official a
Leox;a(Lbsh;)Lewh;
-
getCurrentNodePos
- Mappings:
Namespace Name Mixin selector named getCurrentNodePos
Lnet/minecraft/entity/ai/pathing/Path;getCurrentNodePos()Lnet/minecraft/util/math/BlockPos;
intermediary method_31032
Lnet/minecraft/class_11;method_31032()Lnet/minecraft/class_2338;
official g
Leox;g()Lja;
-
getCurrentNode
- Mappings:
Namespace Name Mixin selector named getCurrentNode
Lnet/minecraft/entity/ai/pathing/Path;getCurrentNode()Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary method_29301
Lnet/minecraft/class_11;method_29301()Lnet/minecraft/class_9;
official h
Leox;h()Leov;
-
getLastNode
- Mappings:
Namespace Name Mixin selector named getLastNode
Lnet/minecraft/entity/ai/pathing/Path;getLastNode()Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary method_30850
Lnet/minecraft/class_11;method_30850()Lnet/minecraft/class_9;
official i
Leox;i()Leov;
-
equalsPath
- Mappings:
Namespace Name Mixin selector named equalsPath
Lnet/minecraft/entity/ai/pathing/Path;equalsPath(Lnet/minecraft/entity/ai/pathing/Path;)Z
intermediary method_41
Lnet/minecraft/class_11;method_41(Lnet/minecraft/class_11;)Z
official a
Leox;a(Leox;)Z
-
reachesTarget
public boolean reachesTarget()- Mappings:
Namespace Name Mixin selector named reachesTarget
Lnet/minecraft/entity/ai/pathing/Path;reachesTarget()Z
intermediary method_21655
Lnet/minecraft/class_11;method_21655()Z
official j
Leox;j()Z
-
setDebugInfo
void setDebugInfo(PathNode[] debugNodes, PathNode[] debugSecondNodes, Set<TargetPathNode> debugTargetNodes) - Mappings:
Namespace Name Mixin selector 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
intermediary method_35500
Lnet/minecraft/class_11;method_35500([Lnet/minecraft/class_9;[Lnet/minecraft/class_9;Ljava/util/Set;)V
official a
Leox;a([Leov;[Leov;Ljava/util/Set;)V
-
getDebugNodeInfos
- Mappings:
Namespace Name Mixin selector named getDebugNodeInfos
Lnet/minecraft/entity/ai/pathing/Path;getDebugNodeInfos()Lnet/minecraft/entity/ai/pathing/Path$DebugNodeInfo;
intermediary method_52604
Lnet/minecraft/class_11;method_52604()Lnet/minecraft/class_11$class_8644;
official k
Leox;k()Leox$a;
-
toBuf
- Mappings:
Namespace Name Mixin selector named toBuf
Lnet/minecraft/entity/ai/pathing/Path;toBuf(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_35498
Lnet/minecraft/class_11;method_35498(Lnet/minecraft/class_2540;)V
official a
Leox;a(Lvr;)V
-
fromBuf
- Mappings:
Namespace Name Mixin selector named fromBuf
Lnet/minecraft/entity/ai/pathing/Path;fromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/entity/ai/pathing/Path;
intermediary method_34
Lnet/minecraft/class_11;method_34(Lnet/minecraft/class_2540;)Lnet/minecraft/class_11;
official b
Leox;b(Lvr;)Leox;
-
toString
-
getTarget
- Mappings:
Namespace Name Mixin selector named getTarget
Lnet/minecraft/entity/ai/pathing/Path;getTarget()Lnet/minecraft/util/math/BlockPos;
intermediary method_48
Lnet/minecraft/class_11;method_48()Lnet/minecraft/class_2338;
official l
Leox;l()Lja;
-
getManhattanDistanceFromTarget
public float getManhattanDistanceFromTarget()- Mappings:
Namespace Name Mixin selector named getManhattanDistanceFromTarget
Lnet/minecraft/entity/ai/pathing/Path;getManhattanDistanceFromTarget()F
intermediary method_21656
Lnet/minecraft/class_11;method_21656()F
official m
Leox;m()F
-
nodesFromBuf
- Mappings:
Namespace Name Mixin selector named nodesFromBuf
Lnet/minecraft/entity/ai/pathing/Path;nodesFromBuf(Lnet/minecraft/network/PacketByteBuf;)[Lnet/minecraft/entity/ai/pathing/PathNode;
intermediary method_52603
Lnet/minecraft/class_11;method_52603(Lnet/minecraft/class_2540;)[Lnet/minecraft/class_9;
official c
Leox;c(Lvr;)[Leov;
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/entity/ai/pathing/Path;write(Lnet/minecraft/network/PacketByteBuf;[Lnet/minecraft/entity/ai/pathing/PathNode;)V
intermediary method_52602
Lnet/minecraft/class_11;method_52602(Lnet/minecraft/class_2540;[Lnet/minecraft/class_9;)V
official a
Leox;a(Lvr;[Leov;)V
-
copy
- Mappings:
Namespace Name Mixin selector named copy
Lnet/minecraft/entity/ai/pathing/Path;copy()Lnet/minecraft/entity/ai/pathing/Path;
intermediary method_52605
Lnet/minecraft/class_11;method_52605()Lnet/minecraft/class_11;
official n
Leox;n()Leox;
-