Advertisement
Curcuit_Blocks

Flipping Coins | One Command | Minecraft

Aug 27th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.55 KB | None | 0 0
  1. /summon FallingSand ~ ~1 ~ {Block:"redstone_block",Time:3,Passengers:[{id:"FallingSand",Block:"activator_rail",Time:3,Passengers:[{id:"MinecartCommandBlock",Command:/gamerule commandBlockOutput false},{id:"MinecartCommandBlock",Command:/fill ~2 ~-2 ~-1 ~6 ~6 ~1 minecraft:stained_hardened_clay 4 hollow},{id:"MinecartCommandBlock",Command:/fill ~2 ~-1 ~ ~2 ~5 ~ minecraft:stained_hardened_clay 14},{id:"MinecartCommandBlock",Command:/fill ~3 ~-1 ~-1 ~6 ~5 ~1 minecraft:stained_glass 4 replace stained_hardened_clay},{id:MinecartCommandBlock,Command:setblock ~1 ~4 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Coin Flipping\\\",\\\"color\\\":\\\"gold\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/tellraw @p [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"<Curcuit_Block> That's right \\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"white\\\\\\\"},{\\\\\\\"selector\\\\\\\":\\\\\\\"@p\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"white\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\",\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"white\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\" I made this.\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"white\\\\\\\"}]\\\"}}",Text2:"{\\\"text\\\":\\\"In One Command,\\\",\\\"color\\\":\\\"gold\\\"}",Text3:"{\\\"text\\\":\\\"By,\\\",\\\"color\\\":\\\"dark_blue\\\"}",Text4:"{\\\"text\\\":\\\"Curcuit Block\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"bold\\\":true}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~3 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Click here\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/particle explode ~3.5 ~1 ~ 1.5 3 1 .01 200 normal\\\"}}",Text2:"{\\\"text\\\":\\\"to remove\\\",\\\"color\\\":\\\"red\\\"}",Text3:"{\\\"text\\\":\\\"this machine\\\",\\\"color\\\":\\\"red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-5 ~-1 ~5 ~3 ~1 air\\\"}}"}},{id:"MinecartCommandBlock",Command:/tellraw @p ["",{"text":"Installing... Please Wait.","color":"green"}]},{id:"MinecartCommandBlock",Command:/summon FallingSand ~3 ~-1 ~ {Block:repeating_command_block,Data:1,TileEntityData:{auto:1b,Command:/scoreboard players tag @e[type=Item,tag=!Coin] add RealCoin {Item:{id:"minecraft:gold_nugget",Count:1b,tag:{display:{Name:"Coin"}}},OnGround:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/entitydata @e[tag=RealCoin] {Item:{tag:{RealCoin:1b,ench:[]}},Tags:[]}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/scoreboard players tag @e[type=Item,tag=!Coin] add RigTCoin {Item:{id:"minecraft:gold_nugget",Count:1b,tag:{display:{Name:"Rigged Coin - Tails"}}},OnGround:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/entitydata @e[tag=RigTCoin] {Item:{tag:{RigCoinT:1b,ench:[],display:{Name:"Coin",Lore:["Rigged","Tails"]}}},Tags:[]}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/scoreboard players tag @e[type=Item,tag=!Coin] add RigHCoin {Item:{id:"minecraft:gold_nugget",Count:1b,tag:{display:{Name:"Rigged Coin - Heads"}}},OnGround:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/entitydata @e[tag=RigHCoin] {Item:{tag:{RigCoinH:1b,ench:[],display:{Name:"Coin",Lore:["Rigged","Heads"]}}},Tags:[]}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:5,TileEntityData:{Command:/scoreboard players tag @e[type=Item,tag=!RolledCoin] add RollFakeT {Item:{tag:{RigCoinT:1b},Count:1b},OnGround:1b}},Time:1,DropItem:0}]}]}]}]}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~4 ~-1 ~ {Block:chain_command_block,Data:5,TileEntityData:{Command:/execute @e[tag=RealCoin] ~ ~ ~ summon ArmorStand ~ ~ ~ {Tags:["CoinOp","CoinOpT"],Invisible:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:/scoreboard players tag @e[name=Heads,tag=RealCoin] remove RealCoin},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:/scoreboard players tag @e[name=Tails,tag=RealCoin] remove RealCoin},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:/entitydata @e[tag=RollFakeT] {CustomName:"Tails",CustomNameVisible:1b,Tags:["RolledCoin"]}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:/entitydata @e[tag=RollFakeH] {CustomName:"Heads",CustomNameVisible:1b,Tags:["RolledCoin"]}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:/scoreboard players tag @e[tag=!RolledCoin] add RealCoin {Item:{tag:{RealCoin:1b}},OnGround:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:/scoreboard players tag @e[type=Item,tag=!RolledCoin] add RollFakeH {Item:{tag:{RigCoinH:1b},Count:1b},OnGround:1b}},Time:1,DropItem:0}]}]}]}]}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~5 ~-1 ~ {Block:chain_command_block,Data:1,TileEntityData:{Command:/execute @e[tag=RealCoin] ~ ~ ~ summon ArmorStand ~ ~ ~ {Tags:["CoinOp","CoinOpH"],Invisible:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/execute @e[tag=RealCoin] ~ ~ ~ kill @r[type=ArmorStand,tag=CoinOp,r=2]},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/execute @e[tag=CoinOpT] ~ ~ ~ entitydata @e[c=1,tag=RealCoin] {CustomName:"Tails",CustomNameVisible:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/execute @e[tag=CoinOpH] ~ ~ ~ entitydata @e[c=1,tag=RealCoin] {CustomName:"Heads",CustomNameVisible:1b}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:kill @e[tag=CoinOp]},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:stained_hardened_clay,Data:4,Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:stained_hardened_clay,Data:4,Time:1,DropItem:0}]}]}]}]}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~2 ~13 ~ {Block:chain_command_block,Data:0,TileEntityData:{Command:fill ~ ~ ~ ~ ~1 ~ air 0},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:command_block,Data:0,TileEntityData:{auto:1b,Command:/tellraw @p ["",{"text":"Done Installing.","color":"green"}]},Time:1,DropItem:0}]}},{id:"MinecartCommandBlock",Command:kill @e[r=2,type=MinecartCommandBlock]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement