Luludatra

[En] Digicode & Coffre-Fort - OneCommand - Bukkit

Apr 13th, 2016
336
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /summon FallingSand ~ ~1 ~ {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/fill ~ ~-30 ~ ~ ~ ~ air,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/fill ~-1 ~-18 ~3 ~-2 ~-18 ~10 stained_glass,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/scoreboard objectives add DC_B dummy,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/scoreboard objectives add DC_A stat.dropperInspected,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/scoreboard objectives add DC_W stat.walkOneCm,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/scoreboard objectives add DC_V dummy,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/scoreboard objectives add DC_NB2 dummy,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/scoreboard objectives add DC_S dummy,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/setblock ~-2 ~-16 ~1 wall_sign 0 replace {Text2:"{\\"text\\":\\"[delete]\\",\\"color\\":\\"red\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/fill ~2 ~-6 ~ ~-1 ~5 ~10 air\\"}}"},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/setblock ~-1 ~-15 ~1 wall_sign 0 replace {Text1:"{\\"text\\":\\"Digicodes\\",\\"color\\":\\"blue\\"}",Text2:"{\\"text\\":\\"devices\\",\\"color\\":\\"blue\\"}",Text4:"{\\"text\\":\\"by Sylnia\\",\\"color\\":\\"dark_blue\\"}"},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-19 ~10 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/scoreboard players set @e[type=Item] DC_C -11 {Item:{id:minecraft:redstone_block,Count:1b}}},id:FallingSand,Time:1,TileID:211,Data:5}],TileEntityData:{Command:/scoreboard players add @e[name=DC_C] DC_W 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players set @e[tag=DC_Block,score_DC_A=3] DC_NB2 0},id:FallingSand,Time:1,TileID:211,Data:5}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ detect ~ ~ ~ air 0 /scoreboard players set @a[r=4] DC_A 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_B_min=1,tag=!DC_HC] DC_NB *= C10 DC_C},id:FallingSand,Time:1,TileID:211,Data:5}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:7b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard objectives add DC_NB dummy},id:FallingSand,Time:1,TileID:211,Data:5}],TileEntityData:{Command:/scoreboard objectives add DC_C dummy},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=4,score_DC_V=4] ~ ~ ~ /minecraft:tp @e[name=DC_Deco,r=1,tag=!DC_DecoMove] ~0.4 ~-0.3 ~ -90 0},id:FallingSand,Time:1,TileID:211,Data:5}],TileEntityData:{Command:/execute @e[tag=DC_Block] ~ ~ ~ /execute @e[name=CF,tag=DCspawn,r=4] ~ ~ ~ /minecraft:give @p[r=5,m=!1] spawn_egg 1 0 {EntityTag:{id:Endermite,Invulnerable:1,NoAI:1,CustomName:"CF",Tags:["DCspawn"],Silent:1b},HideFlags:1,ench:[{id:62,lvl:1}],display:{Name:"Coffre-Fort"}}},Time:1,TileID:211,Data:2},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-18 ~9 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/scoreboard players set @e[type=Item] DC_C -10 {Item:{id:minecraft:dropper,Count:1b}}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC_C,score_DC_W=0] ~ ~ ~ /clone ~ 0 ~ ~ 0 ~ ~ ~ ~},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_R] remove DC_R},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ detect ~ ~ ~ air 0 /minecraft:kill @e[name=DC_Deco,r=2]},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_B_min=10,tag=!DC_HC] DC_NB *= C10 DC_C},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 10000000},id:FallingSand,Time:1,TileID:211,Data:10}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 1},id:FallingSand,Time:1,TileID:211,Data:11}],TileEntityData:{Command:/scoreboard players set @e[type=Item] DC_V -42 {Item:{tag:{repairCost:"42"}}}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=3,score_DC_V=3] ~ ~ ~ /minecraft:tp @e[name=DC_Deco,r=1,tag=!DC_DecoMove] ~ ~-0.3 ~-0.4 180 0},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block] ~ ~ ~ /minecraft:kill @e[tag=DCspawn,r=4]},Time:1,TileID:211,Data:2},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-17 ~8 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/scoreboard players tag @e[tag=DC_False] remove DC_False},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players set @e[name=DC_C,score_DC_W=0] DC_W 1},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players set @e[tag=DC_R] DC_NB2 0},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ detect ~ ~ ~ air 0 /minecraft:kill @e[tag=DC_Block,r=1]},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_B_min=100,tag=!DC_HC] DC_NB *= C10 DC_C},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:8b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:0b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/minecraft:kill @e[type=Item,score_DC_V=-42]},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=2,score_DC_V=2] ~ ~ ~ /minecraft:tp @e[name=DC_Deco,r=1,tag=!DC_DecoMove] ~-0.4 ~-0.3 ~ 90 0},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC,tag=DCspawn] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"DC",Small:1b,Marker:1b,NoGravity:1,Invulnerable:1,Invisible:1,Tags:["DC_Block"]}},Time:1,TileID:211,Data:2},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-16 ~7 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/execute @e[type=ArmorStand,tag=DC_False] ~ ~ ~ /tellraw @p ["",{"text":"[Digicode] ","color":"dark_gray"},{"text":"Invalid code.","color":"red"}]},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @a[score_DC_A2_min=1] ~ ~ ~ /scoreboard players set @e[name=DC_C,r=2,c=1] DC_A2 10},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_R,score_DC_NB2_min=1] add DC_False},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/entitydata @e[tag=DC_Fire] {Fire:2s}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=100000000] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 100000000},id:FallingSand,Time:1,TileID:211,Data:10}],TileEntityData:{Command:/scoreboard players set @e[tag=DC_Block,score_DC_A_min=9] DC_S 111111111},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @a[score_DC_A_min=1] ~ ~ ~ /scoreboard players set @e[tag=DC_Block,r=2,c=1] DC_A 10},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=1,score_DC_V=1] ~ ~ ~ /minecraft:tp @e[name=DC_Deco,r=1,tag=!DC_DecoMove] ~ ~-0.3 ~0.4},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=CF,tag=DCspawn] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"CF",Small:1b,Marker:1b,NoGravity:1,Invulnerable:1,Invisible:1,Tags:["DC_Block"]}},Time:1,TileID:211,Data:2},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-15 ~6 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/entitydata @e[name=DC_C,score_DC_A2=0] {CustomName:"CF"}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players set @a[score_DC_A2_min=1,score_DC_W_min=30] DC_A2 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_R,score_DC_NB2=-1] add DC_False},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC_C] ~ ~ ~ detect ~ ~ ~ air 0 /minecraft:kill @e[name=DC_Deco,r=1]},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=10000000] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players set @e[score_DC_S_min=1] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players set @a[score_DC_A_min=1] DC_A 2},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players set @a[score_DC_A_min=1,score_DC_W_min=30] DC_A 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=4,score_DC_V=4] ~ ~ ~ /setblock ~ ~ ~ dropper 4},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/minecraft:tp @e[tag=DCspawn] ~ ~-200 ~},Time:1,TileID:211,Data:2},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-14 ~5 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/execute @e[name=DC_C,score_DC_A2=0] ~ ~ ~ /scoreboard players tag @e[name=DC_Deco,c=1,r=1] add DC_DecoMove},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC_C] ~ ~ ~ /scoreboard players set @a[score_DC_W_min=30,r=2,c=1] DC_W 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_R,score_DC_NB2_min=0,score_DC_NB2=0] add DC_True},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC_C] ~ ~ ~ detect ~ ~ ~ air 0 /scoreboard players set @a[r=3] DC_A 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=1000000] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=10] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=CF] ~ ~ ~ /blockdata ~ ~ ~ {CustomName:"Coffre-Fort"}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block] ~ ~ ~ /scoreboard players set @a[score_DC_W_min=30,r=2,c=1] DC_W 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=3,score_DC_V=3] ~ ~ ~ /setblock ~ ~ ~ dropper 3},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/minecraft:kill @e[tag=DCspawn]},Time:1,TileID:211,Data:2},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-13 ~4 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/scoreboard players tag @e[name=DC_C,score_DC_A2=0] add DC_Block},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players remove @e[name=DC_C,score_DC_A2_min=1] DC_A2 1},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_R] ~ ~ ~ /scoreboard players operation @e[tag=DC_Block,r=1,c=1] DC_NB2 -= @e[tag=DC_Block,r=1,c=1] DC_B},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC_C] ~ ~ ~ detect ~ ~ ~ air 0 /setblock ~ 0 ~ bedrock},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=100000] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=100] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ /blockdata ~ ~ ~ {CustomName:"Digicode"}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=1] DC_A 1},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=2,score_DC_V=2] ~ ~ ~ /setblock ~ ~ ~ dropper 5},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players add @e[tag=DC_Block] DC_V 0},Time:1,TileID:211,Data:2},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-2 ~-12 ~3 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/scoreboard players remove @e[name=DC_C,score_DC_A2=0] DC_V 10},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC_C,score_DC_A2=0] ~ ~ ~ /clone ~ ~ ~ ~ ~ ~ ~ 0 ~ replace},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_Block,score_DC_NB2_min=1000] add DC_R},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC_C] ~ ~ ~ detect ~ ~ ~ air 0 /minecraft:kill @e[name=DC_C,r=1]},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=10000] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players add @e[score_DC_S_min=1000] DC_NB 1},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A=0] ~ ~ ~ /blockdata ~ ~ ~ {Items:[]}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @a[score_DC_A_min=1,score_DC_A=1] ~ ~ ~ /execute @e[tag=DC_Block,score_DC_A_min=9,c=1,r=5] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{Slot:0,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"1"},repairCost:"42"}},{Slot:1,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"2"},repairCost:"42"}},{Slot:2,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"3"},repairCost:"42"}},{Slot:3,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"4"},repairCost:"42"}},{Slot:4,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"5"},repairCost:"42"}},{Slot:5,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"6"},repairCost:"42"}},{Slot:6,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"7"},repairCost:"42"}},{Slot:7,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"8"},repairCost:"42"}},{Slot:8,id:stained_glass_pane,Count:1,Damage:7,tag:{display:{Name:"9"},repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=1,score_DC_V=1] ~ ~ ~ /setblock ~ ~ ~ dropper 2},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=0,score_DC_V=0] ~ ~ ~ /scoreboard players operation @e[tag=DC_Block,c=1,r=1] DC_V = @p[r=7] DC_V},Time:1,TileID:211,Data:1},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-11 ~10 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/scoreboard players set @e[type=Item] DC_C -12 {Item:{id:minecraft:chest,Count:1b}}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/minecraft:kill @e[name=CF,tag=DC_True]},id:FallingSand,Time:1,TileID:211,Data:4}],TileEntityData:{Command:/execute @e[type=ArmorStand,tag=DC_True,name=DC] ~ ~ ~ /tellraw @p ["",{"text":"[Digicode] ","color":"dark_gray"},{"text":"Valid code.","color":"green"}]},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ detect ~ ~ ~ air 0 /minecraft:kill @e[type=Item,r=4]},id:FallingSand,Time:1,TileID:211,Data:4}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_NB2_min=100,tag=DC_HC] DC_NB *= C10 DC_C},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/gamerule commandBlockOutput false},id:FallingSand,Time:1,TileID:211,Data:4}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:1b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=CF] ~ ~ ~ detect ~ ~ ~ air 0 /scoreboard players remove @e[name=CF,c=1,r=1] DC_V 10},id:FallingSand,Time:1,TileID:211,Data:4}],TileEntityData:{Command:/execute @e[name=DC_Deco] ~ ~ ~ /execute @e[tag=DC_Block,score_DC_V_min=1,score_DC_V=4,r=2] ~ ~ ~ detect ~ ~ ~ dropper -1 /scoreboard players add @e[tag=DC_Block,c=1,r=1] DC_V 10},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block] ~ ~ ~ /execute @e[name=DC,tag=DCspawn,r=5] ~ ~ ~ /minecraft:give @p[r=4,m=!1] spawn_egg 1 0 {EntityTag:{id:Endermite,Invulnerable:1,NoAI:1,CustomName:"DC",Tags:["DCspawn"],Silent:1b},HideFlags:1,ench:[{id:62,lvl:1}],display:{Name:"Digicode"}}},Time:1,TileID:211,Data:4},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-10 ~9 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/execute @e[score_DC_C_min=-10,score_DC_C=-10] ~ ~ ~ /entitydata @e[score_DC_C_min=-11,score_DC_C=-11,r=1,c=1] {Item:{id:minecraft:spawn_egg,tag:{EntityTag:{id:Endermite,Invulnerable:1,NoAI:1,CustomName:"DC",Tags:["DCspawn"],Silent:1b},HideFlags:1,ench:[{id:62,lvl:1}],display:{Name:"Digicode"}}}}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[name=CF,tag=DC_True] ~ ~ ~ /scoreboard players operation @e[name=DC_C,c=1,r=1] DC_V = @e[r=1,c=1,name=CF] DC_V},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ /fill ~1 ~ ~ ~-1 ~ ~ air 0 replace redstone_block},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players set @e[score_DC_NB_min=1] DC_NB 0},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_NB2_min=10,tag=DC_HC] DC_NB *= C10 DC_C},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/gamerule sendCommandFeedback false},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 10},id:FallingSand,Time:1,TileID:211,Data:10}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=CF] ~ ~ ~ detect ~ ~ ~ air 0 /tellraw @p ["",{"text":"[Digicode] ","color":"dark_gray"},{"text":"Please open the Strongbox to destroy it.","color":"red"}]},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=1,score_DC_V=4] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"DC_Deco1",Marker:1b,NoGravity:1,Invulnerable:1,Invisible:1,Tags:["DC_Fire"],Small:1b}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block] ~ ~ ~ /execute @e[tag=DCspawn,r=4] ~ ~ ~ /tellraw @p ["",{"text":"[Digicode] ","color":"dark_gray"},{"text":"Too close to another digicode system.","color":"red"}]},Time:1,TileID:211,Data:3},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-9 ~8 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/execute @e[type=Item,score_DC_C_min=-11,score_DC_C=-11] ~ ~ ~ /minecraft:kill @e[type=Item,score_DC_C_min=-10,score_DC_C=-10,r=2,c=1]},id:FallingSand,Time:1,TileID:211,Data:10}],TileEntityData:{Command:/execute @e[name=CF,tag=DC_True] ~ ~ ~ /scoreboard players operation @e[name=DC_C,c=1,r=1] DC_B = @e[r=1,c=1,name=CF] DC_B},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ /fill ~ ~ ~1 ~ ~ ~-1 air 0 replace redstone_block},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[score_DC_NB_min=1] ~ ~ ~ /clear @a[r=3] stained_glass_pane -1 -1 {repairCost:"42"}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_NB2_min=1,tag=DC_HC] DC_NB *= C10 DC_C},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 1000000},id:FallingSand,Time:1,TileID:211,Data:11}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:2b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=CF] ~ ~ ~ detect ~ ~ ~ air 0 /scoreboard players tag @e[name=DC_Deco,c=1,r=1] add DC_DecoMove},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=DC] ~ ~ ~ /entitydata @e[name=DC_Deco1,r=2] {ArmorItems:[{},{},{},{id:skull,Damage:3,tag:{display:{Name:"Digicode"},SkullOwner:{Id:"5bdfb217-bfcb-4a32-a855-19ab72353f7b",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2FhOGFiMmIxOWRiYTFkZWNjNDhlNmQyYWZiYjdjMzA1MGM3YTE4YzQ5NDEyYzBmN2RlZjI3OGZmZmRiIn19fQ=="}]}}}}],CustomName:"DC_Deco"}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard objectives add DC_A2 stat.dispenserInspected},Time:1,TileID:211,Data:3},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-8 ~7 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/execute @e[score_DC_C_min=-10,score_DC_C=-10] ~ ~ ~ /entitydata @e[score_DC_C_min=-12,score_DC_C=-12,r=1,c=1] {Item:{id:minecraft:spawn_egg,tag:{EntityTag:{id:Endermite,Invulnerable:1,NoAI:1,CustomName:"CF",Tags:["DCspawn"],Silent:1b},HideFlags:1,ench:[{id:62,lvl:1}],display:{Name:"Coffre-Fort"}}}}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[name=CF,tag=DC_True] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"DC_C",NoGravity:1,Marker:1b,Invulnerable:1,Invisible:1,Small:1b}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC,tag=DC_True,score_DC_V_min=12,score_DC_V=12] ~ ~ ~ /setblock ~1 ~ ~ redstone_block},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[score_DC_NB_min=1] ~ ~ ~ /scoreboard players set @p[r=3] DC_A 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players add @e[tag=DC_Block] DC_B 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:6b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 100},id:FallingSand,Time:1,TileID:211,Data:10}],TileEntityData:{Command:/scoreboard players set @a[rym=45,ry=135] DC_V 4},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,name=CF] ~ ~ ~ /entitydata @e[name=DC_Deco1,r=2] {ArmorItems:[{},{},{},{id:skull,Damage:3,tag:{display:{Name:"Digicode Off"},SkullOwner:{Id:"8c749757-3beb-4580-97f4-c25a6437ff14",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDI0MDgyZDRhNzVkNmFiNDAxODJjZjhlNjg5NTk0MDZjYjU3MTQ3YzQzNjM3MTg4MzVmYWU4ZDczZDg4N2JmIn19fQ=="}]}}}}],CustomName:"DC_Deco"}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[name=CF,tag=DCspawn] ~ ~ ~ detect ~ 0 ~ dispenser -1 /minecraft:kill @e[c=1,r=1]},Time:1,TileID:211,Data:3},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-7 ~6 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/execute @e[type=Item,score_DC_C_min=-12,score_DC_C=-12] ~ ~ ~ /minecraft:kill @e[type=Item,score_DC_C_min=-10,score_DC_C=-10,r=2,c=1]},id:FallingSand,Time:1,TileID:211,Data:10}],TileEntityData:{Command:/execute @e[type=ArmorStand,tag=DC_True,name=CF] ~ ~ ~ /tellraw @p ["",{"text":"[Digicode] ","color":"dark_gray"},{"text":"Valid code.","color":"green"}]},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC,tag=DC_True,score_DC_V_min=13,score_DC_V=13] ~ ~ ~ /setblock ~ ~ ~1 redstone_block},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[score_DC_NB_min=1] ~ ~ ~ /gamemode 0 @a[r=3]},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_NB_min=1,tag=!DC_HC] DC_B += @e[score_DC_NB_min=1] DC_NB},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 100000},id:FallingSand,Time:1,TileID:211,Data:11}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:3b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players set @a[rym=-45,ry=45] DC_V 3},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=1,score_DC_V=1,name=CF] ~ ~ ~ /setblock ~ 0 ~ dispenser 2},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[name=CF,tag=DCspawn] ~ ~ ~ detect ~ 0 ~ dispenser -1 /minecraft:tp @e[c=1,r=1] ~ ~-200 ~},Time:1,TileID:211,Data:3},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-6 ~5 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/scoreboard players set @e[score_DC_C_min=-12,score_DC_C=-10] DC_C 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_True,name=DC] remove DC_True},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC,tag=DC_True,score_DC_V_min=14,score_DC_V=14] ~ ~ ~ /setblock ~-1 ~ ~ redstone_block},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_HC] remove DC_HCTellraw},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players add @e[tag=DC_Block] DC_NB2 0},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:5b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 1000},id:FallingSand,Time:1,TileID:211,Data:10}],TileEntityData:{Command:/scoreboard players set @a[rym=-135,ry=-45] DC_V 2},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=2,score_DC_V=2,name=CF] ~ ~ ~ /setblock ~ 0 ~ dispenser 5},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[name=CF,tag=DCspawn] ~ ~ ~ detect ~ 0 ~ dispenser -1 /tellraw @p ["",{"text":"[Digicode] ","color":"dark_gray"},{"text":"You can't place a digicode device here.","color":"red"}]},Time:1,TileID:211,Data:3},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-5 ~4 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:/execute @e[tag=DC_Block,name=CF] ~ ~ ~ detect ~ ~ ~ air 0 /minecraft:kill @e[score_DC_C_min=-10,score_DC_C=0,r=5]},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players set @e[name=DC,score_DC_W_min=1,score_DC_W=1] DC_NB2 0},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[name=DC,tag=DC_True,score_DC_V_min=11,score_DC_V=11] ~ ~ ~ /setblock ~ ~ ~-1 redstone_block},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players tag @e[tag=DC_HCTellraw] add DC_HC},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players operation @e[score_DC_NB_min=1,tag=DC_HC] DC_NB2 += @e[score_DC_NB_min=1] DC_NB},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players remove @e[tag=DC_Block,score_DC_A_min=9] DC_S 10000},id:FallingSand,Time:1,TileID:211,Data:11}],TileEntityData:{Command:/scoreboard objectives add DC_NB2 dummy},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players set @a[rym=135,ry=225] DC_V 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=3,score_DC_V=3,name=CF] ~ ~ ~ /setblock ~ 0 ~ dispenser 3},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/execute @e[name=CF,tag=DCspawn] ~ ~ ~ detect ~ 0 ~ dispenser -1 /minecraft:give @p[r=5,m=!1] spawn_egg 1 0 {EntityTag:{id:Endermite,Invulnerable:1,NoAI:1,CustomName:"CF",Tags:["DCspawn"],Silent:1b},HideFlags:1,ench:[{id:62,lvl:1}],display:{Name:"Coffre-Fort"}}},Time:1,TileID:211,Data:3},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/summon FallingSand ~-1 ~-4 ~3 {Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{Passengers:[{TileEntityData:{Command:},id:FallingSand,Time:1,TileID:211,Data:2}],TileEntityData:{Command:/scoreboard players remove @e[score_DC_W_min=1,name=DC] DC_W 1},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players set @e[tag=DC_True,name=DC] DC_W 15},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:/execute @e[tag=DC_HCTellraw,name=!DC_C] ~ ~ ~ /tellraw @p ["",{"text":"[Digicode] ","color":"dark_gray"},{"text":"Valid code, retype it.","color":"green"}]},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players tag @e[score_DC_B_min=1000,tag=!DC_HC] add DC_HCTellraw},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_A_min=9] ~ ~ ~ /testforblock ~ ~ ~ dropper -1 {Items:[{Slot:4b,tag:{repairCost:"42"}}]}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/scoreboard players set C10 DC_C 10},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=1,score_DC_V=4] ~ ~ ~ /blockdata ~ 0 ~ {CustomName:"Coffre-Fort ouvert"}},id:FallingSand,Time:1,TileID:211,Data:3}],TileEntityData:{Command:/execute @e[tag=DC_Block,score_DC_V_min=4,score_DC_V=4,name=CF] ~ ~ ~ /setblock ~ 0 ~ dispenser 4},id:FallingSand,Time:1,TileID:211,Data:1}],TileEntityData:{Command:,auto:1},Time:1,TileID:210,Data:3},auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/fill ~-1 ~-3 ~3 ~-2 ~7 ~10 air,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/fill ~ ~-2 ~3 ~-3 ~7 ~10 stained_glass,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/fill ~-1 ~-1 ~2 ~-2 ~9 ~11 stained_glass,auto:1},id:FallingSand,Time:1,TileID:137}],TileEntityData:{Command:/fill ~ ~-1 ~2 ~-3 ~10 ~11 quartz_block,auto:1},Time:1,TileID:137}
RAW Paste Data