Added data support for silverfish blocks.

Dieser Commit ist enthalten in:
Wizjany 2011-09-17 14:11:59 -04:00
Ursprung ece3934994
Commit f7c5782fa9
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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