I want to make a flamethrower for my pyro class in my 1 vs 1 pvp map. I found several video on how to do this, but none of them satisfy me. I want a snowball to be thrown and light all players within radius of 1 or so. Pyro will have fire resistance so I do not need to worry about him getting lit on fire. Currently I have it summoning a fire falling sand entity 1 block above the snowball (or else snowball melts from fire). This sets fire on the ground though. So then I tried killing all falling sand entities rapidly. This works but doesn't light players on fire. It also lights the ground on fire when close enough. So what I need is a command or set of commands that will light players within 1 block of the snowball on fire or any other solutions that solve this problem. Also I don't have to use a snowball, if you have better ideas on triggering the system that would be great. Thanks for the help in advance.
It's a little noisy, and the arrows might cause a little lag, but it works as long as the ceiling isn't in the way of the arrows spawning.
thanks. edited it a little and got this: /execute @e[type=Snowball,score_time_min=3] ~ ~ ~ /execute @e[r=3,type=Player] ~ ~3 ~ /summon Arrow ~ ~ ~ {Motion:[0.0,100,0.0],pickup:0,damage:20,Fire:10s}. time is an objective that is added when snowball is thrown so thrower isn't lit on fire. one problem is if you hit them, sometimes they're knocked back and arrow doesn't hit them. this is with cows at least. didn't have anyone to test it on currently. I would like if one of you tested it if you can.
Or check my thread on "Rocket launcher with one command block" or do this for true effect:
/execute on players: rx and rxm are part of specifiers so you divie 180 to around 8 parts and /summon SmallFireball in the equivalent direction and randomize it a bit.
Done
Rollback Post to RevisionRollBack
Get any of your command blocks problem solved here:
could you use a resource pack to implent custom sounds?
It isn't bad sound with my current setup, because it only summons arrows at the player, not everywhere. But I might do that, because I have my custom resource pack anyway, with little fixes like portals being loud. Thanks for the advice.
That works pretty well, but there are 3 flaws. One, it may light the thrower on fire, Second it may pass by too fast to light the other person on fire, and thirdly it doesn't light people in air on fire. So someone could just repeatedly jump to stop from getting hurt by it.
That works pretty well, but there are 3 flaws. One, it may light the thrower on fire, Second it may pass by too fast to light the other person on fire, and thirdly it doesn't light people in air on fire. So someone could just repeatedly jump to stop from getting hurt by it.
Oh, ok thanks. I don't think those will be to big of a problem.
(Run on a 20 tick clock) - /summon Arrow ~ ~2 ~ {Motion:[0.0,0.12,0.0],pickup:0,damage:1,Fire:10s}
Could work actually. Thanks. If you have other suggestions of a better way though, still help.
It's a little noisy, and the arrows might cause a little lag, but it works as long as the ceiling isn't in the way of the arrows spawning.
thanks. edited it a little and got this: /execute @e[type=Snowball,score_time_min=3] ~ ~ ~ /execute @e[r=3,type=Player] ~ ~3 ~ /summon Arrow ~ ~ ~ {Motion:[0.0,100,0.0],pickup:0,damage:20,Fire:10s}. time is an objective that is added when snowball is thrown so thrower isn't lit on fire. one problem is if you hit them, sometimes they're knocked back and arrow doesn't hit them. this is with cows at least. didn't have anyone to test it on currently. I would like if one of you tested it if you can.
First type this into chat:
/scoreboard objectives add time dummy time
Then clock touching two command blocks:
/execute @e[type=Snowball,score_time_min=3] ~ ~ ~ /execute @e[r=3,type=Player] ~ ~3 ~ /summon Arrow ~ ~ ~ {Motion:[0.0,100,0.0],pickup:0,damage:20,Fire:10s}
/scoreboard players add @e[type=Snowball] time 1
/execute on players: rx and rxm are part of specifiers so you divie 180 to around 8 parts and /summon SmallFireball in the equivalent direction and randomize it a bit.
Done
It isn't bad sound with my current setup, because it only summons arrows at the player, not everywhere. But I might do that, because I have my custom resource pack anyway, with little fixes like portals being loud. Thanks for the advice.
What is life when we bake cookies and cook bacon?
Oh, ok thanks. I don't think those will be to big of a problem.