Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    Possible duplicate of How to use ^^^ coordinate systems for motion nbt (minecraft) Commented Jul 20, 2019 at 21:48
  • I just voted to close this as duplicate, even though your question isn't exactly the same. The missing piece is that you first need to summon an armour stand (or anything) at the player's position and then use teleport facing to rotate it towards the mob you want to aim at, then use that as a starter for the arrow. Commented Jul 20, 2019 at 21:49
  • @Fabian Röling Does it work on multiple entities at a time though? I need it to make guards that shoot at nearby monsters, but from what I understand from this it won't work on multiple entities at once will it? If it does work on multiple entities by somehow adjusting it please tell me how. I'm kinda lost here... Commented Jul 20, 2019 at 22:43
  • @Fabian Röling I know it says in the other thread that it doesn't work for multiple players (which in my case are just replaced with armor stands) but it could work by replacing @p with tags, and I don't know how to exactly do this. I copied the commands and it doesn't work even with a single armor stand, so I very likely did something wrong trying to convert his commands. However, I know it is doing something, as my arrows stay midair rather than falling to the ground (I checked, and NoGravity nbt is off) Commented Jul 20, 2019 at 22:54
  • After messing with the commands a bit I have found that lowering the scale (or increasing) changes the arrows, but still not right. Either they fly really far in 1 of 2 directions, or they fall on the ground in front of the armor stand Commented Jul 20, 2019 at 23:20