Move code for block rotation out of BlockSign (also used for Skulls and Banners)