Summon fireball going same direction as arrow
A bit of background before I ask the question:
I am making a system of command blocks that finds in arrow in the ground and replaces it with a fireball. Right now I am making the fireball go directly into the ground, but that doesn't work very well when the arrow hits something on the side, as the fireball goes straight down.
Question:
How can I make it so the fireball spawns with a direction the same as the arrow in the ground?
Current Command:
/execute @e[type=Arrow,score_inGround_min=1] ~ ~ ~ summon Fireball ~ ~1 ~ {ExplosionPower:20, direction:[0.0,-10.0,0.0]}
Best Answer
Do
/execute @e[type=Arrow] ~ ~ ~ summon Fireball ~ ~ ~ {direction:[0.0,0.0,0.0],ExplosionPower:1}
On a timer. It will remove the arrow though.
Pictures about "Summon fireball going same direction as arrow"



How do you summon a fireball direction?
How to Enter the CommandHow do you summon a fireball that explodes?
Fire a fireball by putting a fire charge in a dispenser and activate it with redstone. Then teleport it (like /tp @e[type=fireball,r=5] 5 10 5 ) to where you want.How to Shoot Entities where you look
More answers regarding summon fireball going same direction as arrow
Answer 2
You can hook this up to a always active repeating command block and then when you fire a snowball, it immediately transforms into a fireball and is thrusted into the direction that you threw it:
/execute @e[type=snowball] ~ ~ ~ summon Fireball ~ ~ ~ {direction:[0.0,0.0,0.0],ExplosionPower:0}
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Julia Filirovska, Blue Bird, Jens Johnsson, Pixabay
