Add support for legacy ISidedInventory

In case some mod refuses to update to the new vanilla one