Minecraft Blogs / Tutorial

Minecraft 1.8 Shock Bombs

  • 1,648 views, 2 today
  • 6
  • 2
  • 3
Rainimator's Avatar Rainimator
Level 44 : Master Procrastinator
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:
undefined

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

Create an account or sign in to comment.

1
11/06/2014 12:11 pm
Level 27 : Expert Button Pusher
boyknight53
boyknight53's Avatar
Cool
1
11/02/2014 9:35 am
Level 29 : Expert Narwhal
DarwinYT
DarwinYT's Avatar
Cool
1
10/31/2014 4:13 pm
Level 11 : Journeyman Explorer
+PixelPirate+
+PixelPirate+'s Avatar
This is awesome man!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome