remove api that was scheduled for removal
This commit is contained in:
parent
188cff20c7
commit
ffe310a8e1
1196 changed files with 442 additions and 1665 deletions
25
patches/api/0248-Expose-Tracked-Players.patch
Normal file
25
patches/api/0248-Expose-Tracked-Players.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Tom <cryptite@gmail.com>
|
||||
Date: Fri, 26 Feb 2021 16:24:25 -0600
|
||||
Subject: [PATCH] Expose Tracked Players
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java
|
||||
index acf0fd930c4a20e5c8e38f5183dd3479acece7ae..c7364a6c266aba9568f491fe0794fa593ada224d 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Entity.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Entity.java
|
||||
@@ -903,5 +903,14 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
|
||||
* Check if entity is inside a ticking chunk
|
||||
*/
|
||||
boolean isTicking();
|
||||
+
|
||||
+ /**
|
||||
+ * Returns a set of {@link Player Players} within this entity's tracking range (players that can "see" this entity).
|
||||
+ *
|
||||
+ * @return players in tracking range
|
||||
+ * @deprecated slightly misleading name, use {@link #getTrackedBy()}
|
||||
+ */
|
||||
+ @Deprecated
|
||||
+ @NotNull Set<Player> getTrackedPlayers();
|
||||
// Paper end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue