Deprecate magic values

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-08-19 13:32:18 -05:00
parent d9f3848e22
commit f9bec6eadd
108 changed files with 1194 additions and 11 deletions

View File

@@ -6,6 +6,7 @@ import org.bukkit.Material;
* Represents a falling block
*/
public interface FallingBlock extends Entity {
/**
* Get the Material of the falling block
*
@@ -17,14 +18,18 @@ public interface FallingBlock extends Entity {
* Get the ID of the falling block
*
* @return ID type of the block
* @deprecated Magic value
*/
@Deprecated
int getBlockId();
/**
* Get the data for the falling block
*
* @return data of the block
* @deprecated Magic value
*/
@Deprecated
byte getBlockData();
/**