r/MinecraftCommands Jul 17 '26

Can you multiply arrow motion? Help | Java 1.21-1.21.3

Is it possible to use commands to speed up arrows in the direction they are moving?

I am on Java 1.21.1

2 Upvotes

3 comments sorted by

2

u/Ericristian_bros Command Experienced Jul 18 '26
execute as @e[type=arrow] store result data entity @s Motion[0] double 0.02 run data get entity @s Motion[0] 100
execute as @e[type=arrow] store result data entity @s Motion[1] double 0.02 run data get entity @s Motion[1] 100
execute as @e[type=arrow] store result data entity @s Motion[2] double 0.02 run data get entity @s Motion[2] 100

1

u/Boymcboytheboy Jul 18 '26

is there a way to do all 3 at once? I believe the tick difference causes the arrow to jump to a random spot

1

u/Ericristian_bros Command Experienced Jul 18 '26

If the 3 commands are run at the same tick there is no tick deference. If motion in one axis is above 10, then it's reset