0

I'm trying to create a command that will kill two random arrows shot from a multishot enchanted crossbow (that shoots 3). I wanted to make a bow that would either shoot only left, middle or right. I tried this by adding a scoreboard called CBOW which detected when a crossbow is shot and ran this command on a repeating command block:

execute as @a[scores={CBOW=1}] run kill @e[type=minecraft:arrow,limit=2,sort=random]

this does not work for me, so does anyone have any suggestions or fixes?

0

Just Fixed it. For some reason, the command block that had the commands in it was not working, so I rewrote the command in another command block and it worked!

  • 1
    This might be caused by this bug. Nobody knows yet what exactly causes it. – Fabian Röling Apr 27 '19 at 3:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.