How can you summon/create player shot arrows using commands?
When killing a player with an arrow, it will come with different death messages depending on who or what shot the arrow:
Dispenser:[player] was shot by arrow
Player/Mob:[player] was shot by [player/mob]
Player/Mob w/ Renamed Bow:[player] was shot by [player/mob] using [bow name]
When a player kills another player in this method, there are events that are triggered such as the killing player's kill count will increase, or when a skeleton's arrow kills a creeper the creeper drops a music disk.
Is there any way to summon arrows that are shot by a player or mob? There is no nbt tag ownerName for arrows, only for thrown ender pearls, snowballs, exp bottle, and potions. If so, how is the shooter stored?
I can simulate the effects of a player/mob shot arrow, i want to know if i could create arrows that straight up is a player/mob shot arrow.
Best Answer
If the item has been shot by a dispenser, then no matter how you set up the arrow, it will still have been fired by a dispenser. Short of editing the code for Minecraft itself, there is no way to change this.
Pictures about "How can you summon/create player shot arrows using commands?"



How do you shoot arrows with commands?
In the crafting menu, you should see a crafting area that is made up of a 3x3 crafting grid. To make an Arrow of Harming (Instant Damage II), place 8 arrows and 1 Lingering Potion of Harming (Instant Damage II) in the 3x3 crafting grid.All About Arrow NBT - Minecraft Tutorial
More answers regarding how can you summon/create player shot arrows using commands?
Answer 2
Here is a command you can use!
/summon Arrow ~ ~ ~ {damage:1,Motion:[0.0,0.0,0.0]}
The command works in game for me.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Charles Parker, George Milton, Brett Sayles, Ryutaro Tsukata
