diff options
-rw-r--r-- | src/main/java/org/bukkit/entity/Player.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index c327bff3..a0401a3e 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -1462,6 +1462,18 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM public AdvancementProgress getAdvancementProgress(Advancement advancement); /** + * Get the player's current client side view distance. + * <br> + * Will default to the server view distance if the client has not yet + * communicated this information, + * + * @return client view distance as above + * @deprecated draft API + */ + @Deprecated + public int getClientViewDistance(); + + /** * Gets the player's current locale. * * The value of the locale String is not defined properly. |