refactor Items

By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-02-21 19:57:06 -05:00
parent dc15009d48
commit 3cc14ab40f
5 changed files with 12 additions and 33 deletions

View File

@ -104,7 +104,7 @@ public interface BlockState {
*
* @param type Type-Id to change this block to
*/
void setTypeId(int type);
boolean setTypeId(int type);
/**
* Attempts to update the block represented by this state, setting it to the
@ -135,4 +135,6 @@ public interface BlockState {
* @return true if the update was successful, otherwise false
*/
boolean update(boolean force);
public byte getRawData();
}