mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 02:19:41 -05:00
1 parent
d9f3848e22
commit
f9bec6eadd
108 files changed
+1194
-11
No files matched your search
@@ -50,7 +50,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||
* @param z Z-coordinate of the block
|
||||
* @return Type ID of the block at the given coordinates
|
||||
* @see #getBlockAt(int, int, int) Returns a live Block object at the given location
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public int getBlockTypeIdAt(int x, int y, int z);
|
||||
|
||||
/**
|
||||
@@ -59,7 +61,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||
* @param location Location of the block
|
||||
* @return Type ID of the block at the given location
|
||||
* @see #getBlockAt(org.bukkit.Location) Returns a live Block object at the given location
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public int getBlockTypeIdAt(Location location);
|
||||
|
||||
/**
|
||||
@@ -1094,7 +1098,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||
* Gets the dimension ID of this environment
|
||||
*
|
||||
* @return dimension ID
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
@@ -1104,7 +1110,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||
*
|
||||
* @param id The ID of the environment
|
||||
* @return The environment
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public static Environment getEnvironment(int id) {
|
||||
return lookup.get(id);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user