In the execute, you can use at instead of as. that will make it relative to the player.
Now, a mechanic that would automatically start moving i if very complex and big. I am working on a map where you also use a carrot on a stick so summon a fireball, and I jsut made it so that the player will punch it to get it moving
I am currently working on a Zelda themed adventure map in [1.13] and would like some assistance in making the [Fire Rod] from Zelda.
So far I have set up a scoreboard that detects when the player uses a carrot on a stick:
/scoreboard objectives add FireStaff minecraft.used:minecraft.carrot_on_a_stick
After which it summons a fireball:
/execute as @a[scores={FireStaff=1}] run summon minecraft:fireball ^ ^1 ^ {direction:[0.0,0.0,0.0],ExplosionPower:1}
And then resets the players score back to zero:
/scoreboard players set @a FireStaff 0
The part I need help is teleporting the fireball to the player,and then have the fire ball shoot in the direction they were looking.
If any of you know what I could do to accomplish this I would appreciate it.
Thanks,
Origin_MC
In the execute, you can use at instead of as. that will make it relative to the player.
Now, a mechanic that would automatically start moving i if very complex and big. I am working on a map where you also use a carrot on a stick so summon a fireball, and I jsut made it so that the player will punch it to get it moving