Add cycling for wall signs and steps

This commit is contained in:
Tony 2011-04-03 20:23:38 -05:00
parent a4d77a6c6e
commit cdc011eb2d

View File

@ -64,7 +64,13 @@ public class BlockDataCyler implements BlockTool {
} else if (type == BlockID.WOODEN_STAIRS || type == BlockID.COBBLESTONE_STAIRS) {
data = (data + 1) % 4;
} else if (type == BlockID.SIGN_POST) {
data = (data + 1) % 16;
data = (data + 1) % 16;
} else if (type == BlockID.WALL_SIGN) {
data = (data + 1) % 4;
} else if (type == BlockID.STEP) {
data = (data + 1) % 3;
} else if (type == BlockID.DOUBLE_STEP) {
data = (data + 1) % 3;
} else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE
|| type == BlockID.DISPENSER) {
data = (data + 1) % 4 + 2;