ThymeXD

Grappling Hook - 1Cmd

Mar 2nd, 2022 (edited)
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.53 KB | None | 0 0
  1. summon falling_block ~ ~1 ~ {Time:1,BlockState:{Name:redstone_block},Passengers:[{id:armor_stand,Health:0,Passengers:[{id:falling_block,Time:1,BlockState:{Name:activator_rail},Passengers:[{id:command_block_minecart,Command:"/gamerule commandBlockOutput false"},{id:command_block_minecart,Command:"/fill ~2 ~-2 ~ ~15 ~4 ~7 yellow_concrete hollow"},{id:command_block_minecart,Command:"/fill ~2 ~-1 ~1 ~2 ~3 ~6 yellow_stained_glass"},{id:command_block_minecart,Command:"/fill ~15 ~-1 ~1 ~15 ~3 ~6 yellow_stained_glass"},{id:command_block_minecart,Command:"/fill ~3 ~-1 ~ ~14 ~3 ~ yellow_stained_glass"},{id:command_block_minecart,Command:"/fill ~3 ~-1 ~7 ~14 ~3 ~7 yellow_stained_glass"},{id:command_block_minecart,Command:"/setblock ~4 ~-1 ~1 command_block[facing=up]{Command:\"/give @p written_book{display:{Name:'{\\\"text\\\":\\\"Instruction Book\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":true,\\\"italic\\\":false}'},HideFlags:127,title:\\\"\\\",author:\\\"\\\",pages:['[{\\\"text\\\":\\\"Book of instruction\\\",\\\"color\\\":\\\"red\\\",\\\"underlined\\\":true},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\n\\\\\\\\n- Disclaimers\\\",\\\"color\\\":\\\"blue\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"contents\\\":[{\\\"text\\\":\\\"[Click to go to page]\\\",\\\"color\\\":\\\"aqua\\\"}]},\\\"clickEvent\\\":{\\\"action\\\":\\\"change_page\\\",\\\"value\\\":\\\"2\\\"}},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\n- Crafting Recipe\\\",\\\"color\\\":\\\"blue\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"contents\\\":[{\\\"text\\\":\\\"[Click to go to page]\\\",\\\"color\\\":\\\"aqua\\\"}]},\\\"clickEvent\\\":{\\\"action\\\":\\\"change_page\\\",\\\"value\\\":\\\"3\\\"}}]','[{\\\"text\\\":\\\"Disclaimers\\\",\\\"color\\\":\\\"red\\\",\\\"underlined\\\":true},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\nThis is\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\" NOT\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true,\\\"underlined\\\":false},{\\\"text\\\":\\\" multiplayer friendly\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\nThis is just a proof of concept, and we hope that someone can continue to develop this idea\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\nMight have bugs\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false}]','[{\\\"text\\\":\\\"Crafting Recipe\\\",\\\"color\\\":\\\"light_purple\\\",\\\"underlined\\\":true},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\nThrow a gold ingot on top of a crafting table to get\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\" The Magic Crafting Table\\\",\\\"color\\\":\\\"red\\\",\\\"underlined\\\":false}]','[{\\\"text\\\":\\\"Mouse hover to see the items\\\",\\\"color\\\":\\\"black\\\",\\\"italic\\\":true,\\\"underlined\\\":false},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\nA\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"air\\\"}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\"A\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"air\\\"}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\"B\\\",\\\"color\\\":\\\"dark_green\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"bamboo\\\"}},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\nA\\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"air\\\"}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\"B\\\",\\\"color\\\":\\\"dark_green\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"bamboo\\\"}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\"C\\\",\\\"color\\\":\\\"gray\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"cobweb\\\"}},{\\\"text\\\":\\\"\\\\\\\\n\\\\\\\\nB\\\",\\\"color\\\":\\\"dark_green\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"bamboo\\\"}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\"I\\\",\\\"color\\\":\\\"gray\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"iron_ingot\\\"}},{\\\"text\\\":\\\" | \\\",\\\"color\\\":\\\"black\\\",\\\"underlined\\\":false},{\\\"text\\\":\\\" E\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"underlined\\\":false,\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_item\\\",\\\"contents\\\":\\\"ender_pearl\\\"}}]']}\"}"},{id:command_block_minecart,Command:"/setblock ~4 ~-1 ~6 command_block[facing=up]{Command:\"fill ~-3 ~-1 ~-6 ~11 ~5 ~1 air\"}"},{id:command_block_minecart,Command:"setblock ~1 ~1 ~3 birch_wall_sign[facing=west]{Text1:'{\"text\":\"Get Instruction\"}',Text2:'{\"text\":\"Book\"}',Text4:'{\"text\":\"[Click]\",\"color\":\"aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~3 ~-2 ~-1 redstone_block\"}}'}"},{id:command_block_minecart,Command:"setblock ~1 ~1 ~4 birch_wall_sign[facing=west]{Text1:'{\"text\":\"Destroy Machine\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"setblock ~3 ~-2 ~1 redstone_block\"}}',Text4:'{\"text\":\"[Click]\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~3 ~-2 ~-1 redstone_block\"}}'}"},{id:command_block_minecart,Command:"setblock ~1 ~2 ~3 birch_wall_sign[facing=west]{Text1:'{\"text\":\"Custom Crafting\",\"color\":\"black\"}',Text4:'{\"text\":\"[Click to Enable]\",\"color\":\"green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~5 ~-3 ~-1 redstone_block\"}}'}"},{id:command_block_minecart,Command:"setblock ~8 ~-1 ~5 command_block[facing=up]{Command:\"data merge block ~-7 ~3 ~-2 {Text1:'{\\\"text\\\":\\\"Custom Crafting\\\"}',Text4:'{\\\"text\\\":\\\"[Click to Enable]\\\",\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"setblock ~5 ~-3 ~-1 redstone_block\\\"}}'}\"}"},{id:command_block_minecart,Command:"setblock ~8 ~-1 ~2 command_block[facing=up]{Command:\"data merge block ~-7 ~3 ~1 {Text1:'{\\\"text\\\":\\\"Custom Crafting\\\"}',Text4:'{\\\"text\\\":\\\"[Click to Disable]\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"setblock ~5 ~-3 ~2 redstone_block\\\"}}'}\"}"},{id:command_block_minecart,Command:"setblock ~6 ~-1 ~1 command_block[facing=up]{Command:\"setblock ~ ~ ~4 air\"}"},{id:command_block_minecart,Command:"setblock ~6 ~-1 ~6 command_block[facing=up]{Command:\"setblock ~ ~ ~-4 air\"}"},{id:command_block_minecart,Command:"setblock ~7 ~-1 ~2 repeater[facing=west]"},{id:command_block_minecart,Command:"setblock ~7 ~-1 ~5 repeater[facing=west]"},{id:command_block_minecart,Command:"setblock ~9 ~-1 ~2 repeater[facing=west]"},{id:command_block_minecart,Command:"setblock ~10 ~-1 ~2 repeating_command_block[facing=up]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}}] at @s if block ~ ~-1 ~ crafting_table align xyz positioned ~0.5 ~ ~0.5 run tp @s ~ ~ ~\"}"},{id:command_block_minecart,Command:"setblock ~10 ~ ~2 chain_command_block[facing=up]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}}] at @s if block ~ ~-1 ~ crafting_table align xyz positioned ~0.5 ~ ~0.5 run summon minecraft:armor_stand ~ ~-1 ~ {CustomNameVisible:0b,NoGravity:1b,Silent:1b,Invulnerable:1b,HasVisualFire:0b,Small:1b,PersistenceRequired:1b,DisabledSlots:4144959,Invisible:1b,Tags:[\\\"mct\\\"]}\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~10 ~1 ~2 chain_command_block[facing=up]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}}] at @s if block ~ ~-1 ~ crafting_table run playsound minecraft:block.beacon.power_select master @a ~ ~ ~\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~10 ~2 ~2 chain_command_block[facing=up]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}}] at @s if block ~ ~-1 ~ crafting_table run particle minecraft:glow ~ ~-0.5 ~ 0 0 0 1 30\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~10 ~3 ~2 chain_command_block[facing=west]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}}] at @s if block ~ ~-1 ~ crafting_table run tag @s add ded\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~9 ~3 ~2 chain_command_block[facing=west]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}}] at @s if block ~ ~-1 ~ crafting_table run setblock ~ ~-1 ~ dropper[facing=down]{CustomName:'{\\\"text\\\":\\\"Magic Crafting Table\\\",\\\"color\\\":\\\"yellow\\\",\\\"italic\\\":\\\"false\\\"}'}\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~8 ~3 ~2 chain_command_block[facing=west]{Command:\"execute as @e[type=item,nbt={Item:{id:\\\"minecraft:gold_ingot\\\",Count:1b}},tag=ded] at @s if block ~ ~-1 ~ dropper run kill @s\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~10 ~-1 ~3 repeater[facing=north]"},{id:command_block_minecart,Command:"setblock ~10 ~-1 ~4 repeating_command_block[facing=up]{Command:\"execute as @e[type=armor_stand,tag=mct] at @s if block ~ ~ ~ dropper[facing=down]{Items:[{Slot:2b,id:\\\"minecraft:bamboo\\\",Count:1b},{Slot:4b,id:\\\"minecraft:bamboo\\\",Count:1b},{Slot:5b,id:\\\"minecraft:cobweb\\\",Count:1b},{Slot:6b,id:\\\"minecraft:bamboo\\\",Count:1b},{Slot:7b,id:\\\"minecraft:iron_nugget\\\",Count:1b},{Slot:8b,id:\\\"minecraft:ender_pearl\\\",Count:1b}]} run playsound minecraft:entity.player.levelup master @a ~ ~ ~\"}"},{id:command_block_minecart,Command:"setblock ~10 ~ ~4 chain_command_block[facing=up]{Command:\"execute as @e[type=armor_stand,tag=mct] at @s if block ~ ~ ~ dropper[facing=down]{Items:[{Slot:2b,id:\\\"minecraft:bamboo\\\",Count:1b},{Slot:4b,id:\\\"minecraft:bamboo\\\",Count:1b},{Slot:5b,id:\\\"minecraft:cobweb\\\",Count:1b},{Slot:6b,id:\\\"minecraft:bamboo\\\",Count:1b},{Slot:7b,id:\\\"minecraft:iron_nugget\\\",Count:1b},{Slot:8b,id:\\\"minecraft:ender_pearl\\\",Count:1b}]} run data merge block ~ ~ ~ {Items:[{Slot:4b,id:\\\"minecraft:fishing_rod\\\",Count:1b,tag:{display:{Name:'{\\\"text\\\":\\\"Grappling Hook\\\",\\\"color\\\":\\\"yellow\\\",\\\"italic\\\":false}'},HideFlags:127,Unbreakable:1b,Enchantments:[{id:\\\"minecraft:luck_of_the_sea\\\",lvl:1s}]}}]}\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~10 ~2 ~4 repeating_command_block[facing=up]{Command:\"execute as @e[type=armor_stand,tag=mct] at @s unless block ~ ~ ~ dropper run kill @s\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~10 ~-1 ~6 repeating_command_block[facing=up]{Command:\"execute as @e[type=minecraft:fishing_bobber,tag=!added] at @s if entity @p[nbt={SelectedItem:{id:\\\"minecraft:fishing_rod\\\",Count:1b,tag:{display:{Name:'{\\\"text\\\":\\\"Grappling Hook\\\",\\\"color\\\":\\\"yellow\\\",\\\"italic\\\":false}'}}}}] run summon minecraft:armor_stand ~ ~ ~ {Small:1b,NoGravity:1b,Invulnerable:1,Tags:[\\\"grab\\\"],Invisible:1b}\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~10 ~ ~6 chain_command_block[facing=up]{Command:\"tag @e[type=minecraft:fishing_bobber] add added\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~6 ~-1 ~3 command_block[facing=up]{Command:\"tellraw @a [{\\\"text\\\":\\\"Enabled Custom Crafting\\\",\\\"color\\\":\\\"green\\\"}]\"}"},{id:command_block_minecart,Command:"setblock ~6 ~-1 ~4 command_block[facing=up]{Command:\"tellraw @a [{\\\"text\\\":\\\"Disabled Custom Crafting\\\",\\\"color\\\":\\\"red\\\"}]\"}"},{id:command_block_minecart,Command:"setblock ~12 ~-1 ~6 repeating_command_block[facing=up]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grab] at @s rotated as @e[type=minecraft:fishing_bobber,tag=added] run tp @s ~ ~ ~ ~ ~\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~ ~6 repeating_command_block[facing=up]{Command:\"tp @e[type=minecraft:armor_stand,tag=grab] @e[type=minecraft:fishing_bobber,tag=added,limit=1]\",auto:1b}"},{id:command_block_minecart,Command:"scoreboard objectives add GP_x1 dummy"},{id:command_block_minecart,Command:"scoreboard objectives add GP_x2 dummy"},{id:command_block_minecart,Command:"scoreboard objectives add GP_y1 dummy"},{id:command_block_minecart,Command:"scoreboard objectives add GP_y2 dummy"},{id:command_block_minecart,Command:"scoreboard objectives add GP_z1 dummy"},{id:command_block_minecart,Command:"scoreboard objectives add GP_z2 dummy"},{id:command_block_minecart,Command:"scoreboard objectives add gamemode dummy"},{id:command_block_minecart,Command:"setblock ~12 ~-1 ~4 repeating_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grab] at @s unless entity @e[type=minecraft:fishing_bobber,distance=..1] run execute as @p at @s anchored eyes run summon minecraft:armor_stand ^ ^ ^0.5 {Small:1b,Invulnerable:1b,Tags:[\\\"grapple\\\"],Invisible:1b}\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~-1 ~3 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grab] at @s unless entity @e[type=minecraft:fishing_bobber,distance=..1] run execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s rotated as @e[type=minecraft:armor_stand,tag=grab] run tp @s ~ ~ ~ facing entity @e[type=armor_stand,limit=1,tag=grab]\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~-1 ~2 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grab] at @s unless entity @e[type=minecraft:fishing_bobber,distance=..1] run kill @s\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~-1 ~1 chain_command_block[facing=east]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result score @s GP_x1 run data get entity @s Pos[0] 1000000\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~13 ~-1 ~1 chain_command_block[facing=east]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result score @s GP_y1 run data get entity @s Pos[1] 1000000\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~-1 ~1 chain_command_block[facing=south]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result score @s GP_z1 run data get entity @s Pos[2] 1000000\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~-1 ~2 chain_command_block[facing=south]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run tp @s ^ ^ ^0.1\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~-1 ~3 chain_command_block[facing=south]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result score @s GP_x2 run data get entity @s Pos[0] 1000000\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~-1 ~4 chain_command_block[facing=south]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result score @s GP_y2 run data get entity @s Pos[1] 1000000\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~-1 ~5 chain_command_block[facing=south]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result score @s GP_z2 run data get entity @s Pos[2] 1000000\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~-1 ~6 chain_command_block[facing=up]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run scoreboard players operation @s GP_x2 -= @s GP_x1\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~ ~6 chain_command_block[facing=up]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run scoreboard players operation @s GP_y2 -= @s GP_y1\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~1 ~6 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run scoreboard players operation @s GP_z2 -= @s GP_z1\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~1 ~5 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result entity @s Motion[0] double 0.00005 run scoreboard players get @s GP_x2\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~1 ~4 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result entity @s Motion[1] double 0.00005 run scoreboard players get @s GP_y2\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~1 ~3 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result entity @s Motion[2] double 0.00005 run scoreboard players get @s GP_z2\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~1 ~2 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=!motion] at @s run execute store result score @p gamemode run data get entity @p playerGameType 1\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~14 ~1 ~1 chain_command_block[facing=west]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=grapple,tag=!motion] at @s run tag @s add motion\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~13 ~1 ~1 chain_command_block[facing=west]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=motion] at @s run tag @p add spec\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~1 ~1 chain_command_block[facing=south]{Command:\"gamemode spectator @a[tag=spec]\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~1 ~2 chain_command_block[facing=south]{Command:\"execute as @a[tag=spec] run spectate @e[type=minecraft:armor_stand,tag=grapple,tag=motion,limit=1]\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~1 ~3 chain_command_block[facing=south]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=grapple,tag=motion] at @s unless block ~ ~-0.1 ~ air run execute as @p[tag=spec] at @s if score @s gamemode matches 0 run gamemode survival @s\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~1 ~4 chain_command_block[facing=up]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=grapple,tag=motion] at @s unless block ~ ~-0.1 ~ air run execute as @p[tag=spec] at @s if score @s gamemode matches 1 run gamemode creative @s\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~2 ~4 chain_command_block[facing=up]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=grapple,tag=motion] at @s unless block ~ ~-0.1 ~ air run execute as @p[tag=spec] at @s if score @s gamemode matches 2 run gamemode adventure @s\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~3 ~4 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=motion] at @s unless block ~ ~-0.1 ~ air run tag @p remove spec\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~12 ~3 ~3 chain_command_block[facing=north]{Command:\"execute as @e[type=minecraft:armor_stand,tag=grapple,tag=motion] at @s unless block ~ ~-0.1 ~ air run kill @s\",auto:1b}"},{id:command_block_minecart,Command:"setblock ~3 ~-1 ~2 command_block[facing=up]{Command:\"setblock ~1 ~ ~ air\"}"},{id:command_block_minecart,Command:"kill @e[type=command_block_minecart,distance=..0.5]"}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment