This datapack adds 3 custom arrows into minecraft: Lightning Arrows, Exploding Arrows, and Evoker Arrows. The arrows only work when they hit the ground, and will summon in either TNT, lightning, or evoker fangs. The arrows can be crafted by dropping TNT, an enchanted book with channeling, or a totem of undying together with some arrows. TNT and lightning arrows only need 8 arrows to work, but evoker arrows need 64. I might make a guide soon to help users make their own custom arrows.
Use /trigger to see the information commands
This datapack definitely works from 1.16-1.17, but feel free to test it out on other versions