private static int getData(BaseBlock b, Corner c) {
        if (b.getType() == BlockID.LADDER) {
            return (c == Corner.NE || c == Corner.SE) ? 3 : 2;
        } else {
            return (c == Corner.NE || c == Corner.SE) ? 4 : 1;
        }
    }