I made a machine that lets you have custom Minecraft capes! (Works in 1.11 and onward) Here's the XML data mentioned in the project: <mode> <commandType>Summon</commandType> <xpos></xpos> <ypos></ypos> <zpos></zpos> <relative>1</relative> <entity> <entityType>armor_stand</entityType> <CustomName>Cape</CustomName> <HideCustomName>1</HideCustomName> <NoGravity>1</NoGravity> <Invisible>1</Invisible> <NoBasePlate>1</NoBasePlate> <invulnerable>1</invulnerable> <Equipment> <eHolding> <id>0</id> </eHolding> <eHoldingOffHand> <id>0</id> </eHoldingOffHand> <eBoot> <id>0</id> </eBoot> <eLeg> <id>0</id> </eLeg> <eBody> <id>0</id> </eBody> <eHead> <id>banner</id> <bannerTag>/give @p minecraft:banner 1 0 {BlockEntityTag:{Base:6,Patterns:[{Pattern:cre,Color:15}]}}</bannerTag> </eHead> </Equipment> <Pose> <Body></Body> <LeftArm></LeftArm> <RightArm></RightArm> <LeftLeg></LeftLeg> <RightLeg></RightLeg> <Head> <y>180</y> </Head> </Pose> </entity> </mode>
summon falling_block ~ ~1 ~ {Block:command_block,Data:0,TileEntityData:{auto:0b,Command:summon armor_stand ~ ~ ~ {CustomName:"Cape",NoGravity:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:banner,Count:1b,tag:{BlockEntityTag:{Base:6,Patterns:[{Pattern:cre,Color:15}]}}}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,180f,0f]}},TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~1 ~-1 ~ minecraft:lever 5 replace,TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~1 ~-2 ~1 minecraft:unpowered_repeater 2 replace,TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~1 ~-3 ~2 minecraft:dirt 0 replace,TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~1 ~-3 ~2 minecraft:unlit_redstone_torch 5 replace,TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~1 ~-4 ~1 minecraft:command_block 0 replace {auto:0b,Command:kill @e[type=armor_stand,name=Cape],TrackOutput:0},TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~2 ~-6 ~ minecraft:repeating_command_block 5 replace {auto:0b,Command:tp @e[type=armor_stand,name=Cape] @p,TrackOutput:0},TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~3 ~-7 ~ minecraft:chain_command_block 5 replace {auto:1b,powered:0b,Command:execute @p[rym=-45,ry=44] ~ ~ ~ tp @e[type=armor_stand,name=Cape] ~ ~-2 ~-0.4,TrackOutput:0},TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~4 ~-8 ~ minecraft:chain_command_block 5 replace {auto:1b,powered:0b,Command:execute @p[rym=45,ry=134] ~ ~ ~ tp @e[type=armor_stand,name=Cape] ~0.4 ~-2 ~,TrackOutput:0},TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~5 ~-9 ~ minecraft:chain_command_block 5 replace {auto:1b,powered:0b,Command:execute @p[rym=135,ry=-136] ~ ~ ~ tp @e[type=armor_stand,name=Cape] ~ ~-2 ~0.4,TrackOutput:0},TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~6 ~-10 ~ minecraft:chain_command_block 5 replace {auto:1b,powered:0b,Command:execute @p[rym=-135,ry=-46] ~ ~ ~ tp @e[type=armor_stand,name=Cape] ~-0.4 ~-2 ~,TrackOutput:0},TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:setblock ~ ~-12 ~ minecraft:air 0 replace,TrackOutput:0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:fill ~ ~ ~ ~ ~-11 ~ minecraft:air 0 replace,TrackOutput:0},Time:1,DropItem:0}]}]}]}]}]}]}]}]}]}]}]}]}