[ci skip] Fix incorrect javadoc for Mob pathfinding API (#6842)

This commit is contained in:
Noah van der Aa 2022-01-18 08:26:11 +01:00 committed by GitHub
parent 919e59494c
commit f1db23e47f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
+ +