The Infinity enchant does not respect non-arrow items in the "arrow" tag.
What I expected to happen was...:
I made a datapack where I put "dirt" in the arrow tag. I assumed it would behave like a normal arrow, so the dirt block should not be consumed when using an Infinity bow.
What actually happened was...:
The dirt was consumed each time I fired the infinity bow.
Steps to Reproduce:
1. Create a new world and put the attached datapack in there.
2. Give yourself some dirt, and a bow with infinity.
3. Use the bow, and see the dirt being consumed.
Probably intended, see MC-95821.