A simple datapack that will not allow you to move left or right, aka just in a straight line.
Describes how it works the best way i could explain it