- 32,141 views, 28 today
37
Command block setup
Commands
Ok so set Set up the command blocks in your minecraft world like the picture shows Then add a 4 repeater clock (2 repeaters on each side) and set the tick delay to 3. So in the left command block (attachted to the clock) put in
/execute @e[type=Snowball] ~ ~ ~ summon PrimedTnt
and then in the command block attatched to the repeater put
/kill @e[type=Snowball]
So what this does wherever there is a snowball it will blow up when the command block is activated that's why we want a slow clock.
Or if you want to use an extra command block (so tough) You can have a normal clock the fastest one possible do
/testfor @e[type=Snowball] then after about 5 or 6 ticks however many repeaters you want to delay then do the execute above. So let's say you use 5 repeaters on maximim delay. So that is 2.0 seconds. So after the snowball is alive for 2 seconds it will explode and then have a command block right next to it doing /kill @e[type=Arrow]
Tags |
1 Update Logs
Update #1 : by Veritas025 05/05/2015 12:59:37 pmMay 5th, 2015
Explained how to use testfor, and added better thumbnail
tools/tracking
3147523
6
how-to-make-exploding-snowballs-when-you-throw-them-only-2-commands
Create an account or sign in to comment.
change the execute command to: /execute @e[type=Snowball, score_life_min=30] ~ ~ ~ summon PrimedTnt
and add a scoreboard like this: /scoreboard objectives add life stat.timeSinceLastDeath Ticks lived
The snowballs should explode after they have gone for 1 second if I estimated right.
/scoreboard objectives remove life
command two:
/scoreboard objectives add life stat.timeSinceDeath Ticks lived
Now it should work with 1.8 only. Make sure to use 1.8!
Looks like you had fun with it too XD