mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
@@ -187,7 +187,9 @@ public final class Bukkit {
|
|||||||
* Get the name of this server.
|
* Get the name of this server.
|
||||||
*
|
*
|
||||||
* @return the name of this server
|
* @return the name of this server
|
||||||
|
* @deprecated not a standard server property
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static String getServerName() {
|
public static String getServerName() {
|
||||||
return server.getServerName();
|
return server.getServerName();
|
||||||
}
|
}
|
||||||
@@ -197,7 +199,9 @@ public final class Bukkit {
|
|||||||
* that can be used for uniquely identifying this server.
|
* that can be used for uniquely identifying this server.
|
||||||
*
|
*
|
||||||
* @return the ID of this server
|
* @return the ID of this server
|
||||||
|
* @deprecated not a standard server property
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static String getServerId() {
|
public static String getServerId() {
|
||||||
return server.getServerId();
|
return server.getServerId();
|
||||||
}
|
}
|
||||||
|
@@ -157,7 +157,9 @@ public interface Server extends PluginMessageRecipient {
|
|||||||
* Get the name of this server.
|
* Get the name of this server.
|
||||||
*
|
*
|
||||||
* @return the name of this server
|
* @return the name of this server
|
||||||
|
* @deprecated not a standard server property
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public String getServerName();
|
public String getServerName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -165,7 +167,9 @@ public interface Server extends PluginMessageRecipient {
|
|||||||
* that can be used for uniquely identifying this server.
|
* that can be used for uniquely identifying this server.
|
||||||
*
|
*
|
||||||
* @return the ID of this server
|
* @return the ID of this server
|
||||||
|
* @deprecated not a standard server property
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public String getServerId();
|
public String getServerId();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -51,7 +51,11 @@ public interface Inventory extends Iterable<ItemStack> {
|
|||||||
* Returns the name of the inventory
|
* Returns the name of the inventory
|
||||||
*
|
*
|
||||||
* @return The String with the name of the inventory
|
* @return The String with the name of the inventory
|
||||||
|
* @deprecated different instances of the same inventory may have different names;
|
||||||
|
* it is not clear what this method is meant to return
|
||||||
|
* @see InventoryView#getTitle()
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public String getName();
|
public String getName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -320,7 +324,10 @@ public interface Inventory extends Iterable<ItemStack> {
|
|||||||
* Returns the title of this inventory.
|
* Returns the title of this inventory.
|
||||||
*
|
*
|
||||||
* @return A String with the title.
|
* @return A String with the title.
|
||||||
|
* @deprecated different instances of the same inventory may have different titles
|
||||||
|
* @see InventoryView#getTitle()
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public String getTitle();
|
public String getTitle();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user