Introducing Block Cracker

This commit is contained in:
NuclearW
2013-02-14 00:34:50 -05:00
parent 7d826a0cdb
commit 9bd33ab3df
7 changed files with 59 additions and 8 deletions

View File

@ -350,4 +350,16 @@ public final class BlockChecks {
return true;
}
}
public static boolean canBeCracked(Block block) {
switch(block.getType()) {
case SMOOTH_BRICK:
if (block.getData() == 0) {
return true;
}
default:
return false;
}
}
}