Published Mar 2nd, 2014, 3/2/14 6:34 pm
- 1,136 views, 2 today
- 29 downloads, 0 today
19
[Command Below] \/
Have you ever wanted that iconic red barrel that explodes when you shoot it, in minecraft?
Well now its possible!
Don't forget to use the resource pack included in the save folder, to add the three barrels that you see in the video.
fast clock:
* setblock ~1 ~ ~ redstone_block 0 destroy
* setblock ~ ~1 ~ air
initial arrow in barrel check:
* testfor @e[type=Arrow] {inData:14b}
check if barrel is next to the arrow:
* execute @e[type=Arrow,c=-1] ~ ~ ~ testforblock *SIDE* jukebox 14
--- * top: ~ ~-1 ~
--- * left: ~-1 ~ ~
--- * right: ~1 ~ ~
--- * back: ~ ~ ~-1
--- * front: ~ ~ ~ 1
set fire to the top:
* execute @e[type=Arrow,c=-1] ~ ~ ~ fill ~-1 ~1 ~-1 ~1 ~2 ~1 fire 0 keep
set fire to the ground:
* execute @e[type=Arrow,c=-1] ~ ~ ~ setblock *RANDOM* fire 0 keep
--- * ~(-3 to 3) ~(0 to -2) ~(-3 to 3)
--- * eg. ~3 ~-1 ~-2
make the explosion (even works in peaceful):
* execute @e[type=Arrow,c=-1] ~ ~ ~
summon Creeper ~ ~1 ~ {Fuse:0,ExplosionRadius:2,CustomName:"bomb",
ActiveEffects:[{Id:14,Amplifier:2,Duration:10000000}]}
--- * ExplosionRadius: this is the power of the explosion
destroy the barrel (for non destrictive barrels):
* execute @e[type=Arrow,c=-1] ~ ~ ~ fill ~-1 ~-2 ~-1 ~1 ~2 ~1 air 0 replace jukebox 14
kill the arrow:
* kill @e[type=Arrow,c=-1]
destructive mode on/off:
* gamerule mobGriefing true [on]
* gamerule mobGriefing false [off]
to make barrels where you are standing, paste this in chat:
* /fill ~ ~ ~ ~ ~1 ~ jukebox 14
Have you ever wanted that iconic red barrel that explodes when you shoot it, in minecraft?
Well now its possible!
Don't forget to use the resource pack included in the save folder, to add the three barrels that you see in the video.
fast clock:
* setblock ~1 ~ ~ redstone_block 0 destroy
* setblock ~ ~1 ~ air
initial arrow in barrel check:
* testfor @e[type=Arrow] {inData:14b}
check if barrel is next to the arrow:
* execute @e[type=Arrow,c=-1] ~ ~ ~ testforblock *SIDE* jukebox 14
--- * top: ~ ~-1 ~
--- * left: ~-1 ~ ~
--- * right: ~1 ~ ~
--- * back: ~ ~ ~-1
--- * front: ~ ~ ~ 1
set fire to the top:
* execute @e[type=Arrow,c=-1] ~ ~ ~ fill ~-1 ~1 ~-1 ~1 ~2 ~1 fire 0 keep
set fire to the ground:
* execute @e[type=Arrow,c=-1] ~ ~ ~ setblock *RANDOM* fire 0 keep
--- * ~(-3 to 3) ~(0 to -2) ~(-3 to 3)
--- * eg. ~3 ~-1 ~-2
make the explosion (even works in peaceful):
* execute @e[type=Arrow,c=-1] ~ ~ ~
summon Creeper ~ ~1 ~ {Fuse:0,ExplosionRadius:2,CustomName:"bomb",
ActiveEffects:[{Id:14,Amplifier:2,Duration:10000000}]}
--- * ExplosionRadius: this is the power of the explosion
destroy the barrel (for non destrictive barrels):
* execute @e[type=Arrow,c=-1] ~ ~ ~ fill ~-1 ~-2 ~-1 ~1 ~2 ~1 air 0 replace jukebox 14
kill the arrow:
* kill @e[type=Arrow,c=-1]
destructive mode on/off:
* gamerule mobGriefing true [on]
* gamerule mobGriefing false [off]
to make barrels where you are standing, paste this in chat:
* /fill ~ ~ ~ ~ ~1 ~ jukebox 14
Progress | 100% complete |
Tags |
tools/tracking
2782813
2
exploding-barrels-18
Create an account or sign in to comment.