1.21.4, how do I make a datapack that makes arrows shoot straight like a bullet?

Im new to the realm of datapacks; For context, Im made a resource pack to change the model of the bow and crossbows to be a musket, however I am trying to figure out how to get arrows to shoot straight like a bullet fired out of a musket.

Continue to help post