Advertisement
MidnightNinja07

Grenades in one commmand

Jun 19th, 2016
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-1 ~8 ~-1 ~1 stained_hardened_clay 7 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-1 ~8 ~-2 ~1 stained_glass 1 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"tellraw @a {\"color\":\"red\",\"text\":\"Grenades made by MidnightNinja07 and ElwaySkywalker_1\"}"},{id:MinecartCommandBlock,Command:"scoreboard objectives add Grenade_I dummy"},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"Click to remove\\\",\\\"color\\\":\\\"red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~7 ~1 ~1 air\\\"}}"}},{id:MinecartCommandBlock,Command:"scoreboard objectives add Gym5CJ_I dummy"},{id:MinecartCommandBlock,Command:"summon ArmorStand ~3 ~-2 ~ {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:MinecartCommandBlock,Command:"scoreboard objectives add Gym5CJ_A dummy"},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"execute @e[type=ThrownExpBottle] ~ ~ ~ /summon PrimedTnt ~ ~ ~"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"execute @e[score_Grenade_I_min=1,score_Grenade_I=1] ~ ~ ~ execute @e[r=1,score_Grenade_I_min=2,score_Grenade_I=2] ~ ~ ~ kill @e[type=Item,r=3,score_Grenade_I_min=1,score_Grenade_I=2]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"execute @e[score_Grenade_I_min=1,score_Grenade_I=1] ~ ~ ~ execute @e[r=1,score_Grenade_I_min=2,score_Grenade_I=2] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"minecraft:experience_bottle\\\",Count:1,tag:{display:{Name:\\\"Grenade\\\"}}}}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"scoreboard players set @e[type=Item] Grenade_I 2 {Item:{id:\\\"minecraft:gunpowder\\\"},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5 replace {auto:1,Command:"scoreboard players set @e[type=Item] Grenade_I 1 {Item:{id:\\\"minecraft:snowball\\\"},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement