Archiviert
13
0

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

Dieser Commit ist enthalten in:
Noah van der Aa 2022-01-18 08:26:11 +01:00 committet von GitHub
Ursprung 919e59494c
Commit f1db23e47f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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
new file mode 100644
index 0000000000000000000000000000000000000000..e2a6f9c3881ff9d7373ac30e60009200432555aa
index 0000000000000000000000000000000000000000..43f062257472a06e9e64c2feef6c3b1012aee00e
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/entity/Pathfinder.java
@@ -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
+ * 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();
+