13
0
geforkt von Mirrors/Paper

[ci skip] Fix typo in getNearbyLivingEntities documentation (#7205)

Dieser Commit ist enthalten in:
Glare 2021-12-27 15:45:36 -08:00 committet von GitHub
Ursprung 2cf4b82d71
Commit 8f65f378ce
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -6,7 +6,7 @@ Subject: [PATCH] Additional world.getNearbyEntities API's
Provides more methods to get nearby entities, and filter by types and predicates Provides more methods to get nearby entities, and filter by types and predicates
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
index cec39714294127478b6e73452354ba7ccab78b25..e8b94ae777cad907dbb31c9ea5a3c1690b178777 100644 index cec39714294127478b6e73452354ba7ccab78b25..bd1e64d03d601d55bab3f1de367792544ed802b1 100644
--- a/src/main/java/org/bukkit/World.java --- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java
@@ -1,6 +1,9 @@ @@ -1,6 +1,9 @@
@ -25,7 +25,7 @@ index cec39714294127478b6e73452354ba7ccab78b25..e8b94ae777cad907dbb31c9ea5a3c169
+ // Paper start + // Paper start
+ /** + /**
+ * Gets nearby players within the specified radius (bounding box) + * Gets nearby LivingEntities within the specified radius (bounding box)
+ * @param loc Center location + * @param loc Center location
+ * @param radius Radius + * @param radius Radius
+ * @return the collection of entities near location. This will always be a non-null collection. + * @return the collection of entities near location. This will always be a non-null collection.
@ -36,7 +36,7 @@ index cec39714294127478b6e73452354ba7ccab78b25..e8b94ae777cad907dbb31c9ea5a3c169
+ } + }
+ +
+ /** + /**
+ * Gets nearby players within the specified radius (bounding box) + * Gets nearby LivingEntities within the specified radius (bounding box)
+ * @param loc Center location + * @param loc Center location
+ * @param xzRadius X/Z Radius + * @param xzRadius X/Z Radius
+ * @param yRadius Y Radius + * @param yRadius Y Radius
@ -48,7 +48,7 @@ index cec39714294127478b6e73452354ba7ccab78b25..e8b94ae777cad907dbb31c9ea5a3c169
+ } + }
+ +
+ /** + /**
+ * Gets nearby players within the specified radius (bounding box) + * Gets nearby LivingEntities within the specified radius (bounding box)
+ * @param loc Center location + * @param loc Center location
+ * @param xRadius X Radius + * @param xRadius X Radius
+ * @param yRadius Y Radius + * @param yRadius Y Radius
@ -61,7 +61,7 @@ index cec39714294127478b6e73452354ba7ccab78b25..e8b94ae777cad907dbb31c9ea5a3c169
+ } + }
+ +
+ /** + /**
+ * Gets nearby players within the specified radius (bounding box) + * Gets nearby LivingEntities within the specified radius (bounding box)
+ * @param loc Center location + * @param loc Center location
+ * @param radius X Radius + * @param radius X Radius
+ * @param predicate a predicate used to filter results + * @param predicate a predicate used to filter results
@ -73,7 +73,7 @@ index cec39714294127478b6e73452354ba7ccab78b25..e8b94ae777cad907dbb31c9ea5a3c169
+ } + }
+ +
+ /** + /**
+ * Gets nearby players within the specified radius (bounding box) + * Gets nearby LivingEntities within the specified radius (bounding box)
+ * @param loc Center location + * @param loc Center location
+ * @param xzRadius X/Z Radius + * @param xzRadius X/Z Radius
+ * @param yRadius Y Radius + * @param yRadius Y Radius
@ -86,7 +86,7 @@ index cec39714294127478b6e73452354ba7ccab78b25..e8b94ae777cad907dbb31c9ea5a3c169
+ } + }
+ +
+ /** + /**
+ * Gets nearby players within the specified radius (bounding box) + * Gets nearby LivingEntities within the specified radius (bounding box)
+ * @param loc Center location + * @param loc Center location
+ * @param xRadius X Radius + * @param xRadius X Radius
+ * @param yRadius Y Radius + * @param yRadius Y Radius