refactor Items

This commit is contained in:
Tahg
2011-02-21 19:57:06 -05:00
parent 3626a877ce
commit d82679b8c7
5 changed files with 12 additions and 33 deletions

View File

@@ -201,4 +201,6 @@ public interface Block {
* @return
*/
boolean isBlockIndirectlyPowered();
public byte getRawData();
}

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();
}