MrGarretto's One-Command Creations

Giving the modded minecraft feeling to vanilla

Superheroes command (1.10.2)
About this command
This command adds 3 new items to the game, that each give you a certain superpower: Become Quicksilver from the X-Men, Groot from the Guardians of the Galaxy, or Iron Man!
Show source commands

INIT:/tellraw @a [{"color":"green","bold":true,"text":"The Superheroes command module "},{"color":"dark_aqua","bold":true,"text":"has been installed!"}]
INIT:/tellraw @a [{"color":"red","text":"Command by MrGarretto"}]
INIT:/scoreboard objectives add SP_Block dummy
INIT:/scoreboard objectives add SP_Armor dummy
INIT:/scoreboard objectives add SP_Item dummy
INIT:/scoreboard objectives add SP_Sneak stat.sneakTime
INIT:/scoreboard objectives add SP_hasItem dummy
INIT:/scoreboard objectives add SP_SpawnTNT dummy
INIT:/scoreboard objectives add SP_HandEmp dummy
INIT:/scoreboard objectives add SP_inGround dummy
# Set block type for all blocks used:
/scoreboard players set @e[type=Item] SP_Block 1 {Item:{id:"minecraft:ender_eye"}}
/scoreboard players set @e[type=Item] SP_Block 2 {Item:{id:"minecraft:potion",tag:{Potion:"minecraft:swiftness"}}}
/scoreboard players set @e[type=Item] SP_Block 2 {Item:{id:"minecraft:potion",tag:{Potion:"minecraft:long_swiftness"}}}
/scoreboard players set @e[type=Item] SP_Block 2 {Item:{id:"minecraft:potion",tag:{Potion:"minecraft:strong_swiftness"}}}
/scoreboard players set @e[type=Item] SP_Block 3 {Item:{id:"minecraft:log"}}
/scoreboard players set @e[type=Item] SP_Block 4 {Item:{id:"minecraft:vine"}}
/scoreboard players set @e[type=Item] SP_Block 5 {Item:{id:"minecraft:gold_block"}}
/scoreboard players set @e[type=Item] SP_Block 6 {Item:{id:"minecraft:tnt"}}
# Find ingredients on the ground:
/execute @e[score_SP_Block_min=1,score_SP_Block=1] ~ ~ ~ execute @e[score_SP_Block_min=2,score_SP_Block=2,r=1] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:iron_boots",Count:1,tag:{display:{Name:"QuicksilverBoots",Lore:["Wear these to think and move","faster than the world around you!","While you are wearing these,","sneak to stop time!"]}}}}
/execute @e[score_SP_Block_min=1,score_SP_Block=1] ~ ~ ~ execute @e[score_SP_Block_min=2,score_SP_Block=2,r=1] ~ ~ ~ kill @e[score_SP_Block_min=1,score_SP_Block=2,r=5,c=2]
/execute @e[score_SP_Block_min=3,score_SP_Block=3] ~ ~ ~ execute @e[score_SP_Block_min=4,score_SP_Block=4,r=1] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:fishing_rod",Count:1,tag:{display:{Name:"GrootAttack",Lore:["Right click with this towards","something to toss it in the air!"]}}}}
/execute @e[score_SP_Block_min=3,score_SP_Block=3] ~ ~ ~ execute @e[score_SP_Block_min=4,score_SP_Block=4,r=1] ~ ~ ~ kill @e[score_SP_Block_min=3,score_SP_Block=4,r=5,c=2]
/execute @e[score_SP_Block_min=5,score_SP_Block=5] ~ ~ ~ execute @e[score_SP_Block_min=6,score_SP_Block=6,r=1] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:leather_chestplate",Count:1,tag:{display:{color:12058624,Name:"IronManChestplate",Lore:["Wear to gain the powers of","Iron Man! Your fist will deal","extra damage, and you can launch missiles!"]}}}}
/execute @e[score_SP_Block_min=5,score_SP_Block=5] ~ ~ ~ execute @e[score_SP_Block_min=6,score_SP_Block=6,r=1] ~ ~ ~ kill @e[score_SP_Block_min=5,score_SP_Block=6,r=5,c=2]
# All item special abilities are below here:
/scoreboard players reset @a SP_Armor
/scoreboard players set @a SP_Armor 1 {Inventory:[{Slot:100b,id:"minecraft:iron_boots",tag:{display:{Name:"QuicksilverBoots"}}}]}
/scoreboard players reset @a SP_Item
/scoreboard players set @a SP_Item 2 {SelectedItem:{id:minecraft:fishing_rod,tag:{display:{Name:"GrootAttack"}}}}
/scoreboard players set @a SP_Armor 3 {Inventory:[{Slot:102b,id:"minecraft:leather_chestplate",tag:{display:{Name:"IronManChestplate"}}}]}
# Make item abilities work:
/scoreboard players add @a SP_Armor 0
# Quicksilver
/execute @a[score_SP_Armor_min=1,score_SP_Armor=1,score_SP_Sneak_min=1] ~ ~ ~ execute @e[type=!ArmorStand] ~ ~ ~ entitydata @e[type=!Player,c=1,r=0] {NoAI:1,NoGravity:1}
/execute @a[score_SP_Armor_min=1,score_SP_Armor=1,score_SP_Sneak_min=1] ~ ~ ~ particle largesmoke ~ ~ ~ 2.5 0 2.5 0.01 1
/effect @a[score_SP_Armor_min=1,score_SP_Armor=1,score_SP_Sneak_min=1] minecraft:speed 1 6 true
/execute @a[score_SP_Armor_min=1,score_SP_Armor=1,score_SP_Sneak=0] ~ ~ ~ execute @e[type=!ArmorStand] ~ ~ ~ entitydata @e[type=!Player,c=1,r=0] @e[type=!Player] {NoAI:0,NoGravity:0}
/scoreboard players set @a SP_Sneak 0
# Groot
/scoreboard players set @e[name=unknown] SP_inGround 1 {inGround:1b}
/execute @a[score_SP_Item_min=2,score_SP_Item=2] ~ ~ ~ execute @e[name=unknown,r=30,c=1,score_SP_inGround_min=1] ~ ~ ~ entitydata @e[r=5,type=!Player] {Motion:[0.0d,1.5d,0.0d]}
/execute @a[score_SP_Item_min=2,score_SP_Item=2] ~ ~ ~ execute @e[name=unknown,r=30,c=1] ~ ~ ~ particle blockdust ~ ~ ~ 0 0 0 0.02 100 force @a 17
/execute @a[score_SP_Item_min=2,score_SP_Item=2] ~ ~ ~ execute @e[name=unknown,r=30,c=1,score_SP_inGround_min=1] ~ ~ ~ particle largesmoke ~ ~ ~ 3 3 3 1 100
/execute @a[score_SP_Item_min=2,score_SP_Item=2] ~ ~ ~ kill @e[name=unknown,r=30,c=1,score_SP_inGround_min=1]
# Iron Man
/scoreboard players set @a SP_HandEmp 0
/scoreboard players set @a SP_hasItem 0
/scoreboard players set @a SP_HandEmp 1 {SelectedItem:{}}
/effect @a[score_SP_Armor_min=3,score_SP_Armor=3,score_SP_HandEmp=0] minecraft:strength 1 4 true
/scoreboard players set @a SP_hasItem 1 {Inventory:[{id:"minecraft:snowball",tag:{display:{Name:"LaunchMissile"}}}]}
/give @a[score_SP_Armor_min=3,score_SP_Armor=3,score_SP_hasItem_min=0,score_SP_hasItem=0] snowball 1 0 {display:{Name:"LaunchMissile"}}
/clear @a[score_SP_Armor=2] snowball 0 2 {display:{Name:"LaunchMissile"}}
/scoreboard players set @e[type=Snowball] SP_SpawnTNT 1
/execute @e[type=Snowball] ~ ~ ~ detect ~ ~-1 ~ air 0 scoreboard players set @e[type=Snowball,c=1] SP_SpawnTNT 0
/execute @e[type=Snowball,score_SP_SpawnTNT_min=1,score_SP_SpawnTNT=1] ~ ~ ~ summon PrimedTnt ~ ~ ~ {Fuse:0,ExplosionPower:5}
/execute @e[type=Snowball,score_SP_SpawnTNT_min=1,score_SP_SpawnTNT=1] ~ ~ ~ particle largesmoke ~ ~ ~ 5 3 5 0.7 100
/execute @e[type=Snowball,score_SP_SpawnTNT_min=1,score_SP_SpawnTNT=1] ~ ~ ~ particle flame ~ ~ ~ 0 0 0 0.8 1000

For Minecraft version 1.10.2
Click here for other versions of this command!
How to use
Give yourself a command block with /give @p command_block. Place it then paste the command from below into it. One command creations are similar to Minecraft mods, but are much easier to add to your world!
Click here for other versions of this command!