MrGarretto's One-Command Creations

Giving the modded minecraft feeling to vanilla

Backpacks command
About this command
This vanilla mod will give you a backpack to carry around, and store items in. The backpack can also display extra armor.
Show source commands

INIT:/summon ArmorStand ~4 ~-10 ~4 {NoGravity:1,Invisible:1,CustomName:"backpackStorage",CustomNameVisible:0}
INIT:/summon MinecartChest ~5 ~ ~4 {Riding:{id:"ArmorStand",NoGravity:1,Small:1,Invisible:1,CustomName:"backpackHolder",CustomNameVisible:0}}
INIT:/tp @e[name=backpackHolder] @e[name=backpackStorage]
INIT:/give @a spawn_egg 1 120 {display:{Name:"Backpack"}}
INIT:/tellraw @a {color:green,text:"You have been given a backpack!"}
INIT:/tellraw @a {"text":"Click here to open my generator!","color":"blue","clickEvent":{"action":"open_url","value":"http://mrgarretto.com/commanddump"}}
INIT:/tellraw @a {color:aqua,text:"Create your own vanilla mods in one command with my generator:"}
INIT:/tellraw @a {color:gold,bold:true,text:"The Backpack Vanilla mod has been installed!"}
/effect @e[type=Villager,name=Backpack] 14 5 1 true
/execute @e[type=Villager,name=Backpack] ~ ~ ~ tp @e[name=backpackHolder] @e[name=Backpack]
/execute @e[type=Villager,name=Backpack] ~ ~ ~ tp @e[name=BackpackHolder] ~ ~-2 ~
/execute @e[type=Villager,name=Backpack] ~ ~ ~ particle magicCrit ~ ~ ~ 0 1 0 1 200
/execute @e[type=Villager,name=Backpack] ~ ~ ~ clear @a spawn_egg 120
/execute @e[name=GrabBackpack] ~ ~ ~ execute @a ~ ~ ~ playsound random.chestopen @a ~ ~ ~ 0.4
/execute @e[type=Villager,name=Backpack] ~ ~ ~ give @a spawn_egg 1 101 {display:{Name:"GrabBackpack"}}
/execute @e[type=Villager,name=Backpack] ~ ~ ~ kill @e[type=Villager,name=Backpack]
/effect @e[name=GrabBackpack] 14 5 1 true
/execute @e[name=GrabBackpack] ~ ~ ~ clear @a spawn_egg 101
/execute @e[name=GrabBackpack] ~ ~ ~ give @a spawn_egg 1 120 {display:{Name:"Backpack"}}
/execute @e[name=GrabBackpack] ~ ~ ~ execute @a ~ ~ ~ playsound random.chestclosed @a ~ ~ ~ 0.4
/execute @e[name=GrabBackpack] ~ ~ ~ particle magicCrit ~ ~ ~ 0 1 0 1 200
/execute @e[name=GrabBackpack] ~ ~ ~ tp @e[name=backpackHolder] @e[name=backpackStorage]
/execute @e[name=GrabBackpack] ~ ~ ~ gamerule doMobLoot false
/execute @e[name=GrabBackpack] ~ ~ ~ kill @e[name=GrabBackpack]
/execute @e[name=GrabBackpack] ~ ~ ~ gamerule doMobLoot true

For Minecraft version 1.8.3
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!