The Meaning of Life, the Universe, and Everything.
Location:
'Merica!
Join Date:
2/8/2017
Posts:
81
Location:
'Merica!
Minecraft:
ItsSuperNova
Member Details
So I'm making a Dragon Ball Z themed map, and I'm trying to make a fireball appear every time I right click a carrot on a stick (Ki blast). Right now, all the mechanics are done, just one thing. The fireball appears over the command block, and not where the player is. I can't seem to find a way to make the fireball near the player, and not at the command block. I'm new to command blocking, so I may just be ill-informed. The command I use is this for the fireball.
The "~ ~1 ~" in your command sets the location for the Ki blast to appear, change it to where you want the Blast to appear.
Another solution IS THIS (unless you are absolutely set on using a fishing rod, you could use a bow and shoot arrows. Then give players more arrows as they charge up their Ki?) ...
Put this in a repeat, unconditional, always active command block. You can change the number for the ExplosionPower tag, at 0 it will do no damage, and the higher the number the more devastation. (do not use values over 1000 unless you have a very bulky computer, and be very careful with values 50 and up, as they cause quite a bit of damage)
Then any arrow you shoot will turn into a fireball, just center the crosshairs on the block you want to hit.
Rollback Post to RevisionRollBack
Confident with Command Blocks and Redstone contraptions, and love building adventure maps or maps just to have a bit of fun with, like minigames and stuff. Need any help with your adventure map, just PM me and I would love to help.
So I'm making a Dragon Ball Z themed map, and I'm trying to make a fireball appear every time I right click a carrot on a stick (Ki blast). Right now, all the mechanics are done, just one thing. The fireball appears over the command block, and not where the player is. I can't seem to find a way to make the fireball near the player, and not at the command block. I'm new to command blocking, so I may just be ill-informed. The command I use is this for the fireball.
/summon Fireball ~ ~1 ~ {direction:[0.0,0.0,0.0],ExplosionPower:0}
The "~ ~1 ~" in your command sets the location for the Ki blast to appear, change it to where you want the Blast to appear.
Another solution IS THIS (unless you are absolutely set on using a fishing rod, you could use a bow and shoot arrows. Then give players more arrows as they charge up their Ki?) ...
/execute @e[Type=Arrow,r=50,rm=10] ~ ~ ~ summon Fireball ~ ~ ~ {direction:[], ExplosionPower:25}
Put this in a repeat, unconditional, always active command block. You can change the number for the ExplosionPower tag, at 0 it will do no damage, and the higher the number the more devastation. (do not use values over 1000 unless you have a very bulky computer, and be very careful with values 50 and up, as they cause quite a bit of damage)
Then any arrow you shoot will turn into a fireball, just center the crosshairs on the block you want to hit.
Confident with Command Blocks and Redstone contraptions, and love building adventure maps or maps just to have a bit of fun with, like minigames and stuff. Need any help with your adventure map, just PM me and I would love to help.
Thank you! I I'll try this, and if I like it, I'll just change the textures and sound.