item_used_on_block advancement trigger

Before 1.20, when I wanted to know what item was used on a block, I could use the dedicated item field of the advancement. Now that it has been removed, how can I check for that item inside of the advancement ?
Continue to help post