I'm trying to make whenever an arrow is shot it will fly at double the speed without falling. The no falling part was easy, simply did execute as @e[type=arrow] run data merge entity @s {NoGravity:1}
and that did the trick.
The other part is the real problem. As I understand, I'd have to
execute as @e[type=arrow] store success entity @s Motion double
- somehow double that value
run data merge entity @s {Motion: (whatever I got earlier) }
on that arrow
I can store the data all right, but the problem is I am completely oblivious of how to double that, fetch, and merge value simultaneously.
I've considered creating an individual score for each values and doubling them since that's the only way I know, but I genuinely couldn't understand how the scoreboard command works.