Added data support for silverfish blocks.

This commit is contained in:
Wizjany 2011-09-17 14:11:59 -04:00
parent ece3934994
commit f7c5782fa9
2 changed files with 2 additions and 0 deletions

View File

@ -432,6 +432,7 @@ public enum BlockType {
usesData.add(BlockID.REDSTONE_REPEATER_OFF);
usesData.add(BlockID.REDSTONE_REPEATER_ON);
usesData.add(BlockID.TRAP_DOOR);
usesData.add(BlockID.SILVERFISH_BLOCK);
usesData.add(BlockID.STONE_BRICK);
usesData.add(BlockID.RED_MUSHROOM_CAP);
usesData.add(BlockID.BROWN_MUSHROOM_CAP);

View File

@ -493,6 +493,7 @@ public final class BlockData {
case BlockID.LOG:
case BlockID.LONG_GRASS:
case BlockID.STONE_BRICK:
case BlockID.SILVERFISH_BLOCK:
return (data + increment) % 3;
case BlockID.TORCH: