Advertisement
JustusFT

1.9 Jetpack

Jan 15th, 2016
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 KB | None | 0 0
  1. /summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-1 ~8 ~2 ~1 stained_hardened_clay 0 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-1 ~8 ~1 ~1 stained_glass 0 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"/gamerule logAdminCommands false"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add isSneaking stat.sneakTime"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add jetpackFuel dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add hasCoal dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add equipJetpack dummy"},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Jetpack R1 \",\"color\":\"gold\",\"bold\":true},{\"text\":\"By JustusFT\\n\",\"color\":\"aqua\",\"bold\":true},{\"text\":\"Minecraft Forum\",\"color\":\"blue\",\"underlined\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"http://www.minecraftforum.net/members/JustusFT/threads\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"http://www.minecraftforum.net/members/JustusFT/threads\"}]}},\"bold\":false},{\"text\":\" | \",\"color\":\"white\",\"underlined\":false},{\"text\":\"Planet Minecraft\\n\\n\",\"color\":\"blue\",\"underlined\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://www.planetminecraft.com/member/justusft/\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"http://www.planetminecraft.com/member/justusft/\"}]}}},{\"text\":\"Generated using \",\"color\":\"white\",\"underlined\":false},{\"text\":\"Command Combiner 1.9\\n\\n\",\"color\":\"blue\",\"underlined\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://mrgarretto.com/cmdcombiner\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"http://mrgarretto.com/cmdcombiner\"}]}}},{\"text\":\"NOTE: \",\"color\":\"dark_red\",\"bold\":true,\"underlined\":false},{\"text\":\"Custom Crafting Core\",\"color\":\"gold\",\"bold\":true},{\"text\":\" is required to make this VMod to work. \",\"color\":\"white\",\"bold\":false},{\"text\":\"Download it here.\",\"color\":\"blue\",\"underlined\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://www.planetminecraft.com/project/19-vmod-custom-crafting-core/\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"http://www.planetminecraft.com/project/19-vmod-custom-crafting-core/\"}]}}}]"},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text2:"{\\\"text\\\":\\\"Remove Machine\\\",\\\"color\\\":\\\"dark_red\\\"}",Text3:"{\\\"text\\\":\\\"(Right-click)\\\",\\\"color\\\":\\\"black\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-1 ~7 ~3 ~1 air\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"Jetpack\\\",\\\"color\\\":\\\"black\\\"}",Text2:"{\\\"text\\\":\\\"R1\\\",\\\"color\\\":\\\"black\\\"}",Text4:"{\\\"text\\\":\\\"By JustusFT\\\",\\\"color\\\":\\\"black\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~1 ~ chain_command_block 12 replace {auto:1,Command:"/execute @e[type=ArmorStand,tag=AdvancedCrafting,score_craftItem_min=1] ~ ~ ~ /blockdata ~ ~ ~ {Items:[{id:\\\"minecraft:spawn_egg\\\",Count:1b,Damage:0s,Slot:4b,tag:{display:{Name:\\\"Jetpack\\\",Lore:[\\\"Inventory Equipment\\\",\\\"Allows aviation\\\",\\\"Hold shift midair to use\\\",\\\"Consumes coal as fuel\\\"]}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~1 ~ chain_command_block 4 replace {auto:1,Command:"/execute @e[type=ArmorStand,tag=AdvancedCrafting] ~ ~ ~ /testforblock ~ ~ ~ minecraft:dropper 0 {Items:[{id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,Slot:0b},{id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,Slot:1b},{id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,Slot:2b},{id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,Slot:3b},{id:\\\"minecraft:dispenser\\\",Count:1b,Damage:0s,Slot:4b},{id:\\\"minecraft:iron_ingot\\\",Count:1b,Damage:0s,Slot:5b},{id:\\\"minecraft:redstone\\\",Count:1b,Damage:0s,Slot:6b},{id:\\\"minecraft:redstone\\\",Count:1b,Damage:0s,Slot:8b}]}"}},{id:MinecartCommandBlock,Command:setblock ~7 ~1 ~ chain_command_block 4 replace {auto:1,Command:""}},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~ chain_command_block 1 replace {auto:1,Command:"/scoreboard players set @a isSneaking 0"}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @a[score_jetpackFuel_min=4] jetpackFuel 0"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~ chain_command_block 5 replace {auto:1,Command:"/clear @a[score_jetpackFuel_min=4] minecraft:coal 0 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~ chain_command_block 13 replace {auto:1,Command:"/scoreboard players add @a[score_isSneaking_min=1,score_hasCoal_min=1,score_equipJetpack_min=1] jetpackFuel 1"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~ chain_command_block 5 replace {auto:1,Command:"/effect @a[score_isSneaking_min=1,score_hasCoal_min=1,score_equipJetpack_min=1] minecraft:levitation 10 7"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 1 replace {auto:1,Command:""}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 4 replace {auto:1,Command:""}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @a hasCoal 1 {Inventory:[{id:\\\"minecraft:coal\\\"}]}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @a hasCoal 0"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~ chain_command_block 4 replace {auto:1,Command:"/effect @a[score_hasCoal=0] minecraft:levitation 0"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 1 replace {auto:1,Command:"/effect @a[score_isSneaking=0] minecraft:levitation 0"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @a equipJetpack 1 {Inventory:[{id:\\\"minecraft:spawn_egg\\\",Slot:27b,tag:{display:{Lore:[\\\"Inventory Equipment\\\",\\\"Allows aviation\\\",\\\"Hold shift midair to use\\\",\\\"Consumes coal as fuel\\\"]}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @a equipJetpack 1 {Inventory:[{id:\\\"minecraft:spawn_egg\\\",Slot:18b,tag:{display:{Lore:[\\\"Inventory Equipment\\\",\\\"Allows aviation\\\",\\\"Hold shift midair to use\\\",\\\"Consumes coal as fuel\\\"]}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @a equipJetpack 1 {Inventory:[{id:\\\"minecraft:spawn_egg\\\",Slot:9b,tag:{display:{Lore:[\\\"Inventory Equipment\\\",\\\"Allows aviation\\\",\\\"Hold shift midair to use\\\",\\\"Consumes coal as fuel\\\"]}}}]}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5 replace {auto:1,Command:"/scoreboard players set @a equipJetpack 0"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement