Cyxo

Driveable Plane in only One Command Block

Sep 5th, 2015
677
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 14.95 KB | None | 0 0
  1. summon MinecartCommandBlock ~ ~1 ~ {Command:kill @e[type=MinecartCommandBlock,r=1],Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~ ~-3 ~2 {Time:1,Block:redstone_block,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~ ~1 ~ ~ ~-2 ~ air},Time:1,Riding:{id:"FallingSand",Block:redstone_block,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~ ~1 ~-2 ~ ~3 ~-2 air},Time:1}}}},Riding:{id:"MinecartCommandBlock",Command:tellraw @a ["",{"text":"Copyright (c) ","bold":true},{"text":"Cyxo","color":"blue","clickEvent":{"action":"open_url","value":"http://cyxo.cf/"},"bold":false},{"text":", all rights reserved.","color":"none"}],Riding:{id:"MinecartCommandBlock",Command:tellraw @a ["",{"text":"One Command Block Contraption","color":"white"}],Riding:{id:"MinecartCommandBlock",Command:tellraw @a ["",{"text":"Driveable Plane","color":"dark_gray","bold":true}],Riding:{id:"MinecartCommandBlock",Command:blockdata ~2 ~ ~ {Text2:"{text:\\"Click here\\"}",Text3:"{text:\\"to destroy\\",color:\\"dark_red\\",bold:true,clickEvent:{action:\\"run_command\\",value:\\"fill ~ ~-3 ~-2 ~8 ~3 ~2 air\\"}}"},Riding:{id:"MinecartCommandBlock",Command:give @a written_book 1 0 {pages:["[\\"\\",{\\"text\\":\\"Start Plane\n\n\\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/scoreboard players set @e[name=Plane,c=1] on 1\\"}},{\\"text\\":\\"Drop Bomb\n\n\\",\\"color\\":\\"black\\",\\"bold\\":true,\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/scoreboard players set @e[name=Plane,c=1] bomb 1\\"}},{\\"text\\":\\"Stop Plane\\",\\"color\\":\\"dark_red\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/scoreboard players set @e[name=Plane,c=1] on 0\\"},\\"bold\\":false}]"],title:Plane Controller,author:Mechanician},Riding:{id:"MinecartCommandBlock",Command:setblock ~2 ~ ~ wall_sign 4,Riding:{id:"MinecartCommandBlock",Command:setblock ~4 ~-2 ~ redstone_block,Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~9 ~-2 ~1 {Block:command_block,TileEntityData:{Command:execute @a ~ ~ ~ effect @e[name=Plane,r=1] resistance 1 10},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:effect @e[name=Plane] resistance 0},Time:1}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~8 ~-2 ~1 {Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction=0] {Motion:[0.0,-0.2,1.0];Rotation:[0f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction_min=7,score_direction=7] {Motion:[0.4,0.2,0.4],Rotation:[-45f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction_min=6,score_direction=6] {Motion:[1.0,0.2,0.0],Rotation:[-90f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction_min=5,score_direction=5] {Motion:[0.4,0.2,-0.4],Rotation:[-135f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction_min=4,score_direction=4] {Motion:[0.0,0.2,-1.0],Rotation:[180f,0f]}},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~7 ~-2 ~1 {Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction_min=1,score_direction=1] {Motion:[-0.4,-0.2,0.4],Rotation:[45f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction_min=3,score_direction=3] {Motion:[-0.4,0.2,-0.4],Rotation:[135f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction_min=2,score_direction=2] {Motion:[-1.0,0.2,0.0],Rotation:[90f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction_min=1,score_direction=1] {Motion:[-0.4,0.2,0.4],Rotation:[45f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=1,score_direction=0] {Motion:[0.0,0.2,1.0],Rotation:[0f,0f]}},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~6 ~-2 ~1 {Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction_min=2,score_direction=2] {Motion:[-1.0,-0.2,0.0],Rotation:[90f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction_min=7,score_direction=7] {Motion:[0.4,0.04,0.4],Rotation:[-45f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction_min=6,score_direction=6] {Motion:[1.0,0.0,0.0],Rotation:[-90f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction_min=5,score_direction=5] {Motion:[0.4,0.04,-0.4],Rotation:[-135f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction_min=4,score_direction=4] {Motion:[0.0,0.04,-1.0],Rotation:[180f,0f]}},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~5 ~-2 ~1 {Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction_min=4,score_direction=4] {Motion:[0.0,-0.2,-1.0],Rotation:[180f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction_min=3,score_direction=3] {Motion:[-0.4,0.04,-0.4],Rotation:[135f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction_min=2,score_direction=2] {Motion:[-1.0,0.04,0.0],Rotation:[90f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction_min=1,score_direction=1] {Motion:[-0.4,0.04,0.4],Rotation:[45f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height_min=0,score_height=0,score_direction=0] {Motion:[0.0,0.04,1.0],Rotation:[0f,0f]}},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~4 ~-2 ~1 {Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction_min=3,score_direction=3] {Motion:[-0.4,-0.2,-0.4],Rotation:[135f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction_min=5,score_direction=5] {Motion:[0.4,-0.2,-0.4],Rotation:[-135f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction_min=6,score_direction=6] {Motion:[1.0,-0.2,0.0],Rotation:[-90f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane,score_on_min=2,score_height=-1,score_direction_min=7,score_direction=7] {Motion:[0.4,-0.2,0.4],Rotation:[-45f,0f]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~ ~ ~-1 ~5 ~4 ~-1 redstone_block},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~9 ~-2 ~-1 {Block:command_block,TileEntityData:{Command:execute @e[score_on_min=10] ~ ~ ~ entitydata @e[type=Villager,c=1] {CustomName:"Mechanician",CustomNameVisible:1,Profession:0,Offers:{Recipes:[{rewardExp:0b,maxUses:2147483647,uses:0,buy:{id:gold_nugget,Count:64},buyB:{id:gold_nugget,Count:36},sell:{id:spawn_egg,Damage:90,Count:1,tag:{display:{Name:"Plane",Lore:[Ready for flight ?]}}}}]}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:scoreboard players set @e[type=Item] on 10 {Item:{id:minecraft:iron_block},OnGround:1b}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:entitydata @e[name=Plane] {Saddle:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:1000000,ShowParticles:0b}],HealF:1,Equipment:[{id:spawn_egg,Damage:90,Count:1,tag:{display:{Name:"Plane",Lore:[Ready for flight ?]}}},{},{},{},{}],DropChances:[1.0F,0.085F,0.085F,0.085F,0.085F]}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:tp @e[type=ArmorStand] @e[name=Plane,c=1]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:kill @e[type=ArmorStand,score_spawned=0]},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~8 ~-2 ~-1 {Block:command_block,TileEntityData:{Command:execute @e[name=Plane] ~ ~ ~ scoreboard players set @e[type=ArmorStand,r=1] spawned 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:tp @e[name=AD] @e[name=Plane,r=1]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @e[name=Mechanician] ~ ~ ~ kill @e[score_on_min=10,c=1]},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:scoreboard players reset @e[score_bomb_min=1] bomb},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @e[score_bomb_min=1] ~ ~ ~ summon PrimedTnt ~ ~-1 ~ {Fuse:80}},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~7 ~-2 ~-1 {Block:command_block,TileEntityData:{Command:scoreboard players set @e[type=ArmorStand] spawned 0},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=-22,rym=-67] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 7},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=-67,rym=-112] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 6},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=-112,rym=-157] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 5},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=-157,rym=157] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 4},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~6 ~-2 ~-1 {Block:command_block,TileEntityData:{Command:scoreboard players add @e[name=Plane] spawned 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=157,rym=112] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 3},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=112,rym=67] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 2},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=67,rym=22] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[ry=22,rym=-22] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] direction 0},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~5 ~-2 ~-1 {Block:command_block,TileEntityData:{Command:execute @e[name=Plane,score_spawned=1] ~ ~ ~ summon ArmorStand ~ ~ ~ {Small:1,NoGravity:1,CustomName:AD,Invisible:1,Equipment:[{},{},{},{},{id:banner,Count:1,tag:{BlockEntityTag:{Base:2,Patterns:[{Pattern:mc,Color:1},{Pattern:flo,Color:15}]}}}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[-90f,-90f,0f]}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a ~ ~ ~ scoreboard players set @e[name=Plane,r=1,score_on_min=1] on 2},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:scoreboard players set @e[name=Plane,score_on_min=2] on 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @e[name=Plane,score_on_min=2] ~ ~ ~ playsound fireworks.largeBlast @a ~ ~ ~ 0.4 0.8},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @e[name=Plane,score_on_min=1,score_on=1] ~ ~ ~ playsound fireworks.largeBlast @a ~ ~ ~ 0.4 0.1},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:summon FallingSand ~4 ~-2 ~-1 {Block:command_block,TileEntityData:{Command:execute @e[name=Plane,score_spawned=1] ~ ~ ~ summon ArmorStand ~ ~ ~ {Small:1,NoGravity:1,CustomName:AG,Invisible:1,Equipment:[{},{},{},{},{id:banner,Count:1,tag:{BlockEntityTag:{Base:2,Patterns:[{Pattern:mc,Color:1},{Pattern:flo,Color:15}]}}}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[-90f,90f,0f]}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @e[type=Player,rxm=37,rx=90] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] height -1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @e[type=Player,rxm=-15,rx=37] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] height 0},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @e[type=Player,rx=-15,rxm=-90] ~ ~ ~ scoreboard players set @e[name=Plane,r=1] height 1},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~ ~ ~1 ~5 ~4 ~1 air},Time:1}}}}},Riding:{id:"MinecartCommandBlock",Command:fill ~3 ~-3 ~ ~10 ~3 ~ iron_block,Riding:{id:"MinecartCommandBlock",Command:fill ~9 ~2 ~1 ~9 ~ ~1 stained_hardened_clay 9,Riding:{id:"MinecartCommandBlock",Command:fill ~10 ~-2 ~-1 ~10 ~2 ~1 stained_hardened_clay 9,Riding:{id:"MinecartCommandBlock",Command:fill ~3 ~-2 ~-1 ~3 ~2 ~1 stained_hardened_clay 9,Riding:{id:"MinecartCommandBlock",Command:fill ~3 ~3 ~-2 ~10 ~3 ~2 stained_hardened_clay 9,Riding:{id:"MinecartCommandBlock",Command:fill ~3 ~-3 ~-2 ~10 ~-3 ~2 stained_hardened_clay 9,Riding:{id:"MinecartCommandBlock",Command:fill ~3 ~-3 ~-2 ~10 ~3 ~2 stained_glass 0 hollow,Riding:{id:"MinecartCommandBlock",Command:fill ~2 ~-3 ~-2 ~10 ~3 ~2 air,Riding:{id:"MinecartCommandBlock",Command:scoreboard objectives add spawned dummy,Riding:{id:"MinecartCommandBlock",Command:scoreboard objectives add bomb dummy,Riding:{id:"MinecartCommandBlock",Command:scoreboard objectives add on dummy,Riding:{id:"MinecartCommandBlock",Command:scoreboard objectives add direction dummy,Riding:{id:"MinecartCommandBlock",Command:scoreboard objectives add height dummy,Riding:{id:"MinecartCommandBlock",Command:scoreboard objectives add height dummy,Riding:{id:"FallingSand",Block:activator_rail,Time:1,Riding:{id:"FallingSand",Block:redstone_block,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:gamerule commandBlockOutput false},Time:1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
Advertisement
Add Comment
Please, Sign In to add comment