This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi there,
i would like to know how i can make a fireball that is summoned flying in a random players direction nearby.
It seems like a direction as in the following example is needed in every case.
/summon minecraft:fireball ~ ~ ~ {ExplosionPower:0,direction:[0.0,-0.3,0.0]}
Do i need a repeating command block constantly checking a players position for this or is there an easier way?
Thx for any help.
using ,/execute store, you can copy direction of the player to the direction of the fireball. You will have to run the command three times, set the path for the first as direction[1], second time as direction[2], third time as direction[3].
Perseverance always pays. Sooner or later.
Hi there,
i would like to know how i can make a fireball that is summoned flying in a random players direction nearby.
It seems like a direction as in the following example is needed in every case.
/summon minecraft:fireball ~ ~ ~ {ExplosionPower:0,direction:[0.0,-0.3,0.0]}
Do i need a repeating command block constantly checking a players position for this or is there an easier way?
Thx for any help.
using ,/execute store, you can copy direction of the player to the direction of the fireball. You will have to run the command three times, set the path for the first as direction[1], second time as direction[2], third time as direction[3].
Perseverance always pays. Sooner or later.