Advertisement
Insane96MCP

Recall Bone

Jul 21st, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. /summon Item ~ ~4 ~ {Age:5996,Passengers:[{id:FallingSand,Time:1,Data:0,TileID:152,Passengers:[{id:FallingSand,Time:1,Data:0,TileID:157,Passengers:[{id:MinecartCommandBlock,Command:buffer,Passengers:[{id:MinecartCommandBlock,Command:/scoreboard objectives add boneRecall dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add respawnTime stat.timeSinceDeath},{id:MinecartCommandBlock,Command:/tellraw @a [{"text":"Recall Bone","color":"dark_purple","bold":true},{"text":" has been installed","color":"dark_purple","bold":false},{"text":"\\n\\n\\n","color":"white"},{"text":"By","color":"none"},{"text":" Insane96MCP","color":"dark_green","bold":true}]},{id:MinecartCommandBlock,Command:"setblock ~4 ~-1 ~-5 chain_command_block 5 replace {auto:1b,Command:execute @a[score_boneRecall_min=80,score_boneRecall=135] ~ ~ ~ particle portal ~ ~ ~ .1 1.2 .1 .45 100}"},{id:MinecartCommandBlock,Command:"setblock ~4 ~-1 ~-4 chain_command_block 2 replace {auto:1b,Command:execute @a[score_boneRecall_min=1,score_boneRecall=135] ~ ~ ~ particle portal ~ ~ ~ .1 1.2 .1 .45 100}"},{id:MinecartCommandBlock,Command:"setblock ~4 ~-1 ~-3 repeating_command_block 5 replace {auto:1b,Command:\"scoreboard players tag @e[type=Item] add boneRecall {Item:{id:\\\"minecraft:bone\\\",Count:1b,tag:{ench:[{id:0,lvl:0}]}},OnGround:1b}\"}"},{id:MinecartCommandBlock,Command:"setblock ~5 ~-1 ~-4 repeating_command_block 4 replace {auto:1b,Command:execute @a[score_boneRecall_min=10,score_boneRecall=11] ~ ~ ~ playsound minecraft:block.portal.trigger block @a[score_boneRecall_min=1,score_boneRecall=2] ~ ~ ~ 1.0 0.5}"},{id:MinecartCommandBlock,Command:"setblock ~5 ~-1 ~-3 repeating_command_block 13 replace {auto:1b,Command:execute @e[type=Item,tag=boneRecall] ~ ~ ~ scoreboard players tag @p add recalling}"},{id:MinecartCommandBlock,Command:"setblock ~6 ~-1 ~-5 chain_command_block 4 replace {auto:1b,Command:execute @e[tag=boneRecallCraft1] ~ ~ ~ execute @e[dy=0,tag=boneRecallCraft2] ~ ~ ~ execute @e[dy=0,tag=boneRecallCraft3] ~ ~ ~ execute @e[dy=0,tag=boneRecallCraft4] ~ ~ ~ kill @e[type=Item,c=4,dx=0,dy=0,dz=0]}"},{id:MinecartCommandBlock,Command:"setblock ~6 ~-1 ~-4 repeating_command_block 4 replace {auto:1b,Command:execute @a[score_respawnTime_min=1,score_respawnTime=1] ~ ~ ~ gamerule keepInventory false}"},{id:MinecartCommandBlock,Command:"setblock ~6 ~-1 ~-3 chain_command_block 5 replace {auto:1b,Command:/kill @e[type=Item,tag=boneRecall]}"},{id:MinecartCommandBlock,Command:"setblock ~7 ~-1 ~-5 chain_command_block 4 replace {auto:1b,Command:\"execute @e[tag=boneRecallCraft1] ~ ~ ~ execute @e[dy=0,tag=boneRecallCraft2] ~ ~ ~ execute @e[dy=0,tag=boneRecallCraft3] ~ ~ ~ execute @e[dy=0,tag=boneRecallCraft4] ~ ~ ~ summon Item ~ ~1.5 ~ {Item:{id:bone,Count:1,tag:{HideFlags:1,display:{Name:\\\"Recall Bone\\\",Lore:[\\\"When dropped, after 6 seconds of channeling\\\",\\\"you'll get killed and teleported to your spawn\\\",\\\"point without loosing any item!\\\",\\\"\\\",\\\"You can't move in the 6 seconds\\\"]},ench:[{id:0,lvl:0}]}},NoGravity:1,CustomName:\\\"Recall Bone\\\",CustomNameVisible:1}\"}"},{id:MinecartCommandBlock,Command:"setblock ~7 ~-1 ~-4 chain_command_block 4 replace {auto:1b,Command:/scoreboard players set @a[score_boneRecall_min=120,score_boneRecall=121] boneRecall 0}"},{id:MinecartCommandBlock,Command:"setblock ~7 ~-1 ~-3 repeating_command_block 5 replace {auto:1b,Command:/scoreboard players add @a[tag=recalling] boneRecall 1}"},{id:MinecartCommandBlock,Command:"setblock ~8 ~-1 ~-5 chain_command_block 4 replace {auto:1b,Command:/scoreboard players tag @e[type=Item] add boneRecallCraft4 {Item:{id:minecraft:bone,Count:1b},OnGround:1b}}"},{id:MinecartCommandBlock,Command:"setblock ~8 ~-1 ~-4 chain_command_block 4 replace {auto:1b,Command:/scoreboard players tag @a[score_boneRecall_min=120,score_boneRecall=121] remove recalling}"},{id:MinecartCommandBlock,Command:"setblock ~8 ~-1 ~-3 chain_command_block 5 replace {auto:1b,Command:/scoreboard players test @a[tag=recalling] boneRecall 1 1}"},{id:MinecartCommandBlock,Command:"setblock ~9 ~-1 ~-5 chain_command_block 4 replace {auto:1b,Command:/scoreboard players tag @e[type=Item] add boneRecallCraft3 {Item:{id:minecraft:ender_pearl,Count:2b,Damage:0s},OnGround:1b}}"},{id:MinecartCommandBlock,Command:"setblock ~9 ~-1 ~-4 chain_command_block 4 replace {auto:1b,Command:/kill @a[score_boneRecall_min=120,score_boneRecall=121]}"},{id:MinecartCommandBlock,Command:"setblock ~9 ~-1 ~-3 repeating_command_block 13 replace {auto:1b,Command:/effect @a[score_boneRecall_min=1,score_boneRecall=2] slowness 8 255 true}"},{id:MinecartCommandBlock,Command:"setblock ~10 ~-1 ~-5 repeating_command_block 12 replace {auto:1b,Command:/scoreboard players tag @e[type=Item] add boneRecallCraft2 {Item:{id:minecraft:diamond,Count:1b},OnGround:1b}}"},{id:MinecartCommandBlock,Command:"setblock ~10 ~-1 ~-4 repeating_command_block 12 replace {auto:1b,Command:/gamerule keepInventory true}"},{id:MinecartCommandBlock,Command:"setblock ~10 ~-1 ~-3 chain_command_block 5 replace {auto:1b,Command:/effect @a[score_boneRecall_min=1,score_boneRecall=2] jump_boost 8 128 true}"},{id:MinecartCommandBlock,Command:"setblock ~11 ~-1 ~-5 repeating_command_block 4 replace {auto:1b,Command:/scoreboard players tag @e[type=Item] add boneRecallCraft1 {Item:{id:minecraft:experience_bottle,Count:1b},OnGround:1b}}"},{id:MinecartCommandBlock,Command:"setblock ~11 ~-1 ~-4 repeating_command_block 4 replace {auto:1b,Command:/scoreboard players test @a boneRecall 119 119}"},{id:MinecartCommandBlock,Command:"setblock ~11 ~-1 ~-3 chain_command_block 2 replace {auto:1b,Command:/effect @a[score_boneRecall_min=1,score_boneRecall=2] blindness 9 0 true}"},{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-6 ~12 ~-2 ~-2 stained_hardened_clay 11},{id:MinecartCommandBlock,Command:fill ~3 ~-1 ~-6 ~12 ~-1 ~-6 stained_glass 2},{id:MinecartCommandBlock,Command:fill ~3 ~-1 ~-5 ~3 ~-1 ~-2 stained_glass 2},{id:MinecartCommandBlock,Command:fill ~3 ~0 ~-6 ~12 ~0 ~-2 stained_hardened_clay 11},{id:MinecartCommandBlock,Command:fill ~4 ~-1 ~-2 ~12 ~-1 ~-2 stained_glass 2},{id:MinecartCommandBlock,Command:fill ~12 ~-1 ~-5 ~12 ~-1 ~-3 stained_glass 2},{id:MinecartCommandBlock,Command:"setblock ~2 ~-2 ~-4 wall_sign 4 replace {Text4:\"{\\\"text\\\":\\\"\\\"}\",Text3:\"{\\\"bold\\\":true,\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard objectives remove respawnTime\\\"},\\\"text\\\":\\\"Machine\\\"}\",Text2:\"{\\\"bold\\\":true,\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard objectives remove boneRecall\\\"},\\\"text\\\":\\\"Remove\\\"}\",Text1:\"{\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~ ~2 ~10 ~3 ~-2 air\\\"},\\\"text\\\":\\\" \\\"}\"}"},{id:MinecartCommandBlock,Command:"setblock ~2 ~-1 ~-4 wall_sign 4 replace {Text4:\"{\\\"text\\\":\\\"\\\"}\",Text3:\"{\\\"underlined\\\":true,\\\"color\\\":\\\"dark_green\\\",\\\"text\\\":\\\"by Insane96MCP\\\"}\",Text2:\"{\\\"bold\\\":true,\\\"color\\\":\\\"dark_purple\\\",\\\"text\\\":\\\"Recall Bone\\\"}\",Text1:\"{\\\"text\\\":\\\"\\\"}\"}"},{id:MinecartCommandBlock,Command:/kill @e[type=Item,r=4],Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~ ~ air,Passengers:[{id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:kill @e[type=MinecartCommandBlock,r=4],auto:1},Passengers:[{id:FallingSand,Time:1,Block:minecraft:command_block,TileEntityData:{Command:fill ~ ~1 ~ ~ ~-2 ~ air,auto:1}}]}]}]}]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement