Advertisement
MasInYoFace

Deflect Shield

May 20th, 2016
641
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 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 bedrock 0 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-1 ~8 ~-2 ~1 bedrock 0 replace bedrock"},{id:MinecartCommandBlock,Command:" /give @a minecraft:shield 1 0 {display:{Name:Deflect Shield},ench:[]}"},{id:MinecartCommandBlock,Command:" /scoreboard objectives add jump stat.jump"},{id:MinecartCommandBlock,Command:" /gamerule mobGriefing false"},{id:MinecartCommandBlock,Command:" /scoreboard objectives add shield dummy"},{id:MinecartCommandBlock,Command:" /tellraw @a [\"\",{\"text\":\"➔ Deflect Shield \",\"color\":\"dark_purple\",\"bold\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"One command format brought to you by Mr. Garretto's Command combiner\"}]}}},{\"text\":\" Use the Deflect Shield in your offhand to send arrows back where they came from\",\"color\":\"light_pruple\",\"bold\":false}]"},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/scoreboard players set @a jump 0"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_shield_min=1,score_jump_min=1] ~ ~ ~ /summon Creeper ~ ~-1 ~ {ignited:1,Fuse:0,ExplosionRadius:3}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_shield_min=1] ~ ~ ~ /entitydata @e[type=Arrow,r=3] {NoGravity:1b}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @a shield 1 {Inventory:[{id:minecraft:shield,Count:1b,Slot:-106b,tag:{display:{Name:Deflect Shield}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5 replace {auto:1,Command:"/scoreboard players set @a shield 0"}},{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