added rotation support for anvil and ender chests, part of #1580