Minecraft 1.14 Command Block Arrow Barrage?

by Wiam   Last Updated July 12, 2019 02:14 AM - source

I am trying to make an arrow barrage using command blocks and my current method is:

/scoreboard objectives add RClick minecraft.used:minecraft.carrot_on_a_stick

/execute as @a[scores={RClick=1..}] at @s run summon arrow ~ ~ ~ {NoGravity:1,Tags:["Arrow"]}

/execute at @a[scores={RClick=1..}] run tp @e[type=arrow,tag=Arrow,sort=nearest,distance=..1] @p[scores={RClick=..1}]

/execute at @a[scores={RClick=1..}] run tp @e[type=arrow,tag=Arrow,sort=nearest,distance=..1] ~ ~1.5 ~

/execute at @e[type=arrow,tag=Arrow] run tp @e[type=arrow,tag=Arrow,distance=..1] ^ ^ ^1

/scoreboard players reset @a[scores={RClick=1..}] RClick

/scoreboard players add @e[type=arrow,tag=Arrow] RClick 1

/kill @e[type=arrow,tag=Arrow,scores={RClick=100..}]

Is there a better way of going about this? This just seems weird and not as natural as I'd like it to be...

Tags : minecraft

Related Questions

How to make a map

Updated December 27, 2017 04:14 AM