mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 17:07:34 +01:00
[ci skip] Fix incorrect javadoc for Mob pathfinding API (#6842)
This commit is contained in:
parent
919e59494c
commit
f1db23e47f
@ -13,7 +13,7 @@ You can use EntityPathfindEvent to cancel new pathfinds from overriding your cur
|
|||||||
|
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
|
diff --git a/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..e2a6f9c3881ff9d7373ac30e60009200432555aa
|
index 0000000000000000000000000000000000000000..43f062257472a06e9e64c2feef6c3b1012aee00e
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
|
+++ b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
|
||||||
@@ -0,0 +1,212 @@
|
@@ -0,0 +1,212 @@
|
||||||
@ -214,7 +214,7 @@ index 0000000000000000000000000000000000000000..e2a6f9c3881ff9d7373ac30e60009200
|
|||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
+ * @return Returns the index of the current point along the points returned in {@link #getPoints()} the entity
|
+ * @return Returns the index of the current point along the points returned in {@link #getPoints()} the entity
|
||||||
+ * is trying to reach, or null if we are done with this pathfinding.
|
+ * is trying to reach. This value will be higher than the maximum index of {@link #getPoints()} if this path finding is done.
|
||||||
+ */
|
+ */
|
||||||
+ int getNextPointIndex();
|
+ int getNextPointIndex();
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user