@Cervator no, not really.
Looking at the direction attribute, it isn't well defined what it means. I thought it would be the side that was the front, after rotation is applied, but for many blocks it is actually the top (?). Having rotation (as in the transformation done to the block by the...