62
What's up guys I want to share to you my invention: The Shock Bombs!
This tutorial can only be understood by redstone professionals. If you have experience in redstone and command blocks, you can understand it.
Here's the video:
Now how do they work?
When dropping a shock bomb, it takes time to arm itself, giving the player time to run away. When the timer finishes, the shock bomb will search for any entity that comes in its radius. When it detects an entity, it shocks everything in a 5 block radius then giving them 2 second slowness and blindness. It works like a flashbang, but deals moderate damage.
Commands used:
Redstone Clock:
Upper Command block: /setblock ~ ~-1 ~ air
Lower Command block: /setblock ~ ~1 ~ redstone_block 0 destroy
Getting a shock bomb:
/give @p sea_lantern 5 0 {display:{Name:"Shock Bomb"}}
The Shock Bomb's Timer:
/scoreboard objectives add shock dummy
Put this command to a command block hooked to a redstone clock:
/scoreboard players add @e[type=Item] shock 1 {Item:{tag:{display:{Name:"Shock Bomb"}}}}
The LightningBolt and the stun effects
Create 3 command blocks and hook them to the really fast redstone clock. Then, put these commands in separate command blocks:
/execute @e[score_shock_min=40] ~ ~ ~ execute @e[r=5,type=!Item] ~ ~ ~ summon LightningBolt
/execute @e[score_shock_min=40] ~ ~ ~ execute @e[r=5] ~ ~ ~ effect @e[r=5] blindness 2 1 true
/execute @e[score_shock_min=40] ~ ~ ~ execute @e[r=5] ~ ~ ~ effect @e[r=5] slowness 2 4 true
Removing the Shock Bomb after consumed:
In that command block attached to the comparator (the one on the left), put this command:
/kill @e[type=Item] {Item:{tag:{display:{Name:"Shock Bomb"}}}}
Using the shock bomb:
Throw the shock bomb by selecting it in your inventory and pressing Q. After that, you have 3 seconds to stay away from its detection radius. If a player or entity walks near it, it will blow up and stun everything in its 5 block radius.
Have fun shocking and stunning players with the shock bombs ^_^
I hope you guys enjoyed my invention.
This tutorial can only be understood by redstone professionals. If you have experience in redstone and command blocks, you can understand it.
Here's the video:
Now how do they work?
When dropping a shock bomb, it takes time to arm itself, giving the player time to run away. When the timer finishes, the shock bomb will search for any entity that comes in its radius. When it detects an entity, it shocks everything in a 5 block radius then giving them 2 second slowness and blindness. It works like a flashbang, but deals moderate damage.
Commands used:
Redstone Clock:
Upper Command block: /setblock ~ ~-1 ~ air
Lower Command block: /setblock ~ ~1 ~ redstone_block 0 destroy
Getting a shock bomb:
/give @p sea_lantern 5 0 {display:{Name:"Shock Bomb"}}
The Shock Bomb's Timer:
/scoreboard objectives add shock dummy
Put this command to a command block hooked to a redstone clock:
/scoreboard players add @e[type=Item] shock 1 {Item:{tag:{display:{Name:"Shock Bomb"}}}}
The LightningBolt and the stun effects
Create 3 command blocks and hook them to the really fast redstone clock. Then, put these commands in separate command blocks:
/execute @e[score_shock_min=40] ~ ~ ~ execute @e[r=5,type=!Item] ~ ~ ~ summon LightningBolt
/execute @e[score_shock_min=40] ~ ~ ~ execute @e[r=5] ~ ~ ~ effect @e[r=5] blindness 2 1 true
/execute @e[score_shock_min=40] ~ ~ ~ execute @e[r=5] ~ ~ ~ effect @e[r=5] slowness 2 4 true
Removing the Shock Bomb after consumed:
In that command block attached to the comparator (the one on the left), put this command:
/kill @e[type=Item] {Item:{tag:{display:{Name:"Shock Bomb"}}}}
Using the shock bomb:
Throw the shock bomb by selecting it in your inventory and pressing Q. After that, you have 3 seconds to stay away from its detection radius. If a player or entity walks near it, it will blow up and stun everything in its 5 block radius.
Have fun shocking and stunning players with the shock bombs ^_^
I hope you guys enjoyed my invention.
Tags |
tools/tracking
3128314
6
minecraft-18-shock-bombs
Create an account or sign in to comment.