geforkt von Mirrors/Paper
[CI-SKIP] Deprecate the view distance APIs on Player (#4945)
Dieser Commit ist enthalten in:
Ursprung
25980711f0
Commit
04d4054c16
@ -17,14 +17,22 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ * Gets the view distance for this player
|
+ * Gets the view distance for this player
|
||||||
+ *
|
+ *
|
||||||
+ * @return the player's view distance
|
+ * @return the player's view distance
|
||||||
|
+ * @deprecated This is unimplemented and <i>will</i> throw an exception at runtime. The {@link org.bukkit.World World}-based methods still work.
|
||||||
|
+ * @see org.bukkit.World#getViewDistance()
|
||||||
|
+ * @see org.bukkit.World#getNoTickViewDistance()
|
||||||
+ */
|
+ */
|
||||||
|
+ @Deprecated
|
||||||
+ public int getViewDistance();
|
+ public int getViewDistance();
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
+ * Sets the view distance for this player
|
+ * Sets the view distance for this player
|
||||||
+ *
|
+ *
|
||||||
+ * @param viewDistance the player's view distance
|
+ * @param viewDistance the player's view distance
|
||||||
|
+ * @deprecated This is unimplemented and <i>will</i> throw an exception at runtime. The {@link org.bukkit.World World}-based methods still work.
|
||||||
|
+ * @see org.bukkit.World#setViewDistance(int)
|
||||||
|
+ * @see org.bukkit.World#setNoTickViewDistance(int)
|
||||||
+ */
|
+ */
|
||||||
|
+ @Deprecated
|
||||||
+ public void setViewDistance(int viewDistance);
|
+ public void setViewDistance(int viewDistance);
|
||||||
// Paper end
|
// Paper end
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren