@@ -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