Gravity Gun with only one command block
/summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~1 ~-1 ~ ~1 ~-4 ~ redstone_block},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~1 ~2 ~ ~ ~-12 ~ air},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~-1 ~18 ~13 {Block:stained_hardened_clay,Data:14,Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~1 ~1 ~-9 {Block:redstone_block,Time:1,DropItem:0}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tellraw @a ["",{"text":"\n\n'Gravity Gun' in Minecraft ","color":"gold","bold":"true"},{"text":"by "},{"text":"TheRedEngineer\n","color":"red","bold":"true"},{"text":"\n youtube.com/c/TheRedEng\n\n","color":"gold","clickEvent":{"action":"open_url","value":"https://www.youtube.com/c/TheRedEng"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"click here to open link"}]}}},{"text":"Credit TheRedEngineer if you are using this creation\n","color":"red"},{"text":"Don't re-upload this command: provide my YT link!\n\n","color":"red"}]},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~ ~-2 ~-5 {Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=22,ry=66] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~-3.3 ~2 ~3.3 {CustomName:"GGB",Motion:[-1.6,0.7,1.6],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=-21,ry=21] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~ ~2 ~4 {CustomName:"GGB",Motion:[0.0,0.7,2.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tp @e[type=Slime,name=GunTarget] @e[name=ASGGP1]},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=-66,ry=-22] ~ ~ ~ /tp @e[name=ASGGP1] ~3.1 ~-1 ~3.1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=-111,ry=-67] ~ ~ ~ /tp @e[name=ASGGP1] ~3.8 ~-1 ~},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=-156,ry=-112] ~ ~ ~ /tp @e[name=ASGGP1] ~3.1 ~-1 ~-3.1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=157,ry=-157] ~ ~ ~ /tp @e[name=ASGGP1] ~ ~-1 ~-3.8},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~-1 ~-5 {Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_graItm_min=-1,score_graItm=0] graTmr 0},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graTmr_min=1,score_graTmr=1] ~ ~ ~ /playsound mob.endermen.portal @a ~ ~ ~ 10 1.5},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players add @a[score_graItm_min=1,score_graTmr_min=-1,score_graTmr=2] graTmr 1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add graTmr dummy},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graItm_min=1,score_graItm=1] ~ ~ ~ /playsound mob.endermen.portal @a ~ ~ ~ 2 1.2},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_graItm_min=-1,score_graItm=0] graClk 0},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graItm_min=-1,score_graItm=0] ~ ~ ~ /kill @e[type=Slime,name=GunTarget]},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~2 ~ ~-6 {Block:command_block,TileEntityData:{Command:/execute @a[score_graItm_min=-1,score_graItm=0] ~ ~ ~ /tp @e[type=Slime,name=GunTarget] ~ ~-400 ~},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graItm_min=-1,score_graItm=0] ~ ~ ~ /kill @e[name=ASGGP1]},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_graClk_min=1,score_graClk=1] graClk 2},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=1,score_graClk=1] ~ ~ ~ /playsound mob.endermen.idle @a ~ ~ ~ 10 1.5},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=1,score_graClk=1] ~ ~ ~ /summon Slime ~ ~ ~ {CustomName:"GunTarget",CustomNameVisible:1,Size:1,Invulnerable:1,PersistenceRequired:1,NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:19999980,ShowParticles:0b}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=1,score_graClk=1] ~ ~ ~ /summon ArmorStand ~ ~ ~ {CustomName:"ASGGP1",Marker:1b,Invisible:1,Invulnerable:1,NoGravity:1,PersistenceRequired:1,DisabledSlots:2039583}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players remove @a[score_graItm_min=1] graItm 1},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~ ~1 ~-6 {Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=112,ry=152] ~ ~ ~ /tp @e[name=ASGGP1] ~-3.1 ~-1 ~-3.1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=67,ry=111] ~ ~ ~ /tp @e[name=ASGGP1] ~-3.8 ~-1 ~},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=22,ry=66] ~ ~ ~ /tp @e[name=ASGGP1] ~-3.1 ~-1 ~3.1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=2,score_graClk=3,rx=90,rxm=16,rym=-21,ry=21] ~ ~ ~ /tp @e[name=ASGGP1] ~ ~-1 ~3.8},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=-66,ry=-22] ~ ~ ~ /tp @e[name=ASGGP1] ~3 ~3 ~3},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=-111,ry=-67] ~ ~ ~ /tp @e[name=ASGGP1] ~3.5 ~3 ~},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=-156,ry=-112] ~ ~ ~ /tp @e[name=ASGGP1] ~3 ~3 ~-3},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~ ~ ~13 {Block:stained_hardened_clay,Data:14,Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~-1 ~-4 ~-4 {Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=-21,ry=21] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~ ~4 ~3 {CustomName:"GGB",Motion:[0.0,1.2,1.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=-66,ry=-22] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~3.3 ~2 ~3.3 {CustomName:"GGB",Motion:[2.0,0.7,2.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=-111,ry=-67] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~4 ~2 ~ {CustomName:"GGB",Motion:[2.0,0.7,0.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=-156,ry=-112] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~3.3 ~2 ~-3.3 {CustomName:"GGB",Motion:[2.0,0.7,-2.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=157,ry=-157] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~ ~2 ~-4 {CustomName:"GGB",Motion:[0.0,0.7,-2.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=112,ry=152] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~-3.3 ~2 ~-3.3 {CustomName:"GGB",Motion:[-2.0,0.7,-2.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=15,rxm=-15,rym=67,ry=111] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~-4 ~2 ~ {CustomName:"GGB",Motion:[-2.0,0.7,0.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~1 ~-3 ~-4 {Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /particle townaura ~-.4 ~.5 ~-.4 0 .2 0 .001 6 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /particle townaura ~.6 ~.4 ~.6 0 .2 0 .001 6 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /particle townaura ~.6 ~ ~.1 0 0 -.2 .001 6 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /particle townaura ~.1 ~ ~.6 -.2 0 0 .001 6 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=0,score_graTmr=0] ~ ~ ~ /playsound random.orb @a ~ ~ ~ 10 2},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players remove @e[type=Slime,name=GunTarget,score_graTmr_min=0] graTmr 1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget] ~ ~ ~ detect ~ ~ ~ air 0 /scoreboard players set @e[type=Slime,name=GunTarget] graTmr 3},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~1 ~-2 ~-7 {Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:6,Inventory:[{Slot:6b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:5,Inventory:[{Slot:5b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:4,Inventory:[{Slot:4b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:3,Inventory:[{Slot:3b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:2,Inventory:[{Slot:2b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:1,Inventory:[{Slot:1b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:0,Inventory:[{Slot:0b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~-1 ~-1 ~-7 {Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=157,ry=-157] ~ ~ ~ /tp @e[name=ASGGP1] ~ ~3 ~-3.5},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=112,ry=152] ~ ~ ~ /tp @e[name=ASGGP1] ~-3 ~3 ~-3},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=67,ry=111] ~ ~ ~ /tp @e[name=ASGGP1] ~-3.5 ~3 ~},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=22,ry=66] ~ ~ ~ /tp @e[name=ASGGP1] ~-3 ~3 ~3},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=2,score_graClk=3,rx=-16,rxm=-90,rym=-21,ry=21] ~ ~ ~ /tp @e[name=ASGGP1] ~ ~3 ~3.5},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=-66,ry=-22] ~ ~ ~ /tp @e[name=ASGGP1] ~3.3 ~1 ~3.3},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=-111,ry=-67] ~ ~ ~ /tp @e[name=ASGGP1] ~4 ~1 ~},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~-1 ~ ~-3 {Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=-66,ry=-22] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~3 ~4 ~3 {CustomName:"GGB",Motion:[1.0,1.2,1.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=-111,ry=-67] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~3.5 ~4 ~ {CustomName:"GGB",Motion:[1.0,1.2,0.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=-156,ry=-112] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~3 ~4 ~-3 {CustomName:"GGB",Motion:[0.7,1.2,-0.7],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=157,ry=-157] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~ ~4 ~-3.5 {CustomName:"GGB",Motion:[0.0,1.2,-1.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=112,ry=152] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~-3 ~4 ~-3 {CustomName:"GGB",Motion:[-0.7,1.2,-0.7],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=67,ry=111] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~-3.5 ~4 ~ {CustomName:"GGB",Motion:[-1.0,1.2,0.0],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4,rx=-16,rxm=-90,rym=22,ry=66] ~ ~ ~ /execute @e[name=ASGGP1,score_graBlk_min=1] ~ ~ ~ /summon FallingSand ~-3 ~4 ~3 {CustomName:"GGB",Motion:[-0.7,1.2,0.7],Block:grass,Time:1,DropItem:0,HurtEntities:1,FallHurtMax:40,FallHurtAmount:2}},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~1 ~1 ~-3 {Block:command_block,TileEntityData:{Command:/entitydata @e[score_graAtr_min=1,score_graAtr=1] {NoAI:1}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tp @e[score_graAtr_min=1,score_graAtr=1] @e[name=ASGGP1]},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add graAtr dummy},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[name=ASGGP1] ~ ~ ~ /scoreboard players set @e[name=!GGB,type=!Player,r=2] graAtr 1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /particle crit ~ ~.5 ~ .35 .3 .35 .001 10 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /particle townaura ~-.4 ~1 ~.1 0 0 .2 .001 6 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /particle townaura ~.1 ~1 ~-.4 .2 0 0 .001 6 force},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~1 ~-5 ~13 {Block:stained_hardened_clay,Data:14,Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~ ~-4 ~-8 {Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:8,Inventory:[{Slot:8b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a graItm 3 {SelectedItemSlot:7,Inventory:[{Slot:7b,id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] graItm 4 {Item:{id:"minecraft:carrot_on_a_stick",tag:{display:{Name:"Gravity_Gun"}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Item,score_graItm_min=4,score_graItm=4] ~ ~ ~ /particle depthsuspend ~ ~ ~ 1 .4 1 .01 20 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Item,score_graItm_min=1,score_graItm=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=2,score_graItm=2,r=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=3,score_graItm=3,r=1] ~ ~ ~ /kill @e[type=Item,score_graItm_min=1,score_graItm=4,r=3]},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Item,score_graItm_min=1,score_graItm=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=2,score_graItm=2,r=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=3,score_graItm=3,r=1] ~ ~ ~ /summon Item ~ ~ ~ {CustomName:"Gravity Gun",CustomNameVisible:1,Item:{id:carrot_on_a_stick,Count:1,tag:{HideFlags:1,display:{Name:Gravity_Gun},ench:[{id:49,lvl:3}]}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Item,score_graItm_min=1,score_graItm=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=2,score_graItm=2,r=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=3,score_graItm=3,r=1] ~ ~ ~ /playsound random.anvil_use @a ~ ~ ~ 10 1},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~-2 ~-3 ~-8 {Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=-156,ry=-112] ~ ~ ~ /tp @e[name=ASGGP1] ~3.3 ~1 ~-3.3},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=157,ry=-157] ~ ~ ~ /tp @e[name=ASGGP1] ~ ~1 ~-4},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=112,ry=152] ~ ~ ~ /tp @e[name=ASGGP1] ~-3.3 ~1 ~-3.3},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=67,ry=111] ~ ~ ~ /tp @e[name=ASGGP1] ~-4 ~1 ~},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=22,ry=66] ~ ~ ~ /tp @e[name=ASGGP1] ~-3.3 ~1 ~3.3},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=2,score_graClk=3,rx=15,rxm=-15,rym=-21,ry=21] ~ ~ ~ /tp @e[name=ASGGP1] ~ ~1 ~4},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tp @e[name=ASGGP1] @p[score_graClk_min=2,score_graClk=4,score_graItm_min=1]},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~-2 ~-2 ~-2 {Block:command_block,TileEntityData:{Command:/setblock ~1 ~-3 ~-9 minecraft:wall_sign 0 replace {Text1:"{text:'[Command]',color:gold,bold:true}",Text2:"{text:'Gravity Gun',color:black,underlined:true}",Text3:"{text:'by',color:black}",Text4:"{text:'TheRedEngineer',color:red,clickEvent:{action:run_command,value:'/tp @p ~ ~ ~-3'}}"}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/setblock ~1 ~-1 ~-9 minecraft:wall_sign 0 replace {Text1:"{text:'[Remove]',color:dark_red,bold:true}",Text2:"{text:'Right-click',color:black}",Text3:"{text:'this sign to',color:black}",Text4:"{text:'remove machine',color:black,clickEvent:{action:run_command,value:'/fill ~2 ~3 ~ ~-2 ~-6 ~13 minecraft:air 0 replace'}}"}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/setblock ~1 ~-2 ~-9 minecraft:wall_sign 0 replace {Text1:"{text:'[Get Items]',color:dark_green,bold:true}",Text2:"{text:'Right-click',color:black}",Text3:"{text:'this sign',color:black}",Text4:"{text:'for more info',color:black,clickEvent:{action:run_command,value:'/say . Create a Gravity Gun by throwing on ground: -1x ARROW -1x NETHER STAR -16x REDSTONE BLOCKS'}}"}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[type=Item,score_graItm_min=4,score_graItm=4] ~ ~ ~ /playsound portal.portal @a ~ ~ ~ .4 1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a[score_graClk_min=4,score_graClk=4] graClk 0},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=4,score_graClk=4] ~ ~ ~ /kill @e[name=ASGGP1]},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:execute @a[score_graClk_min=4,score_graClk=4] ~ ~ ~ /playsound mob.enderdragon.wings @a ~ ~ ~ 10 .9},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~ ~-1 ~-2 {Block:command_block,TileEntityData:{Command:/fill ~-3 ~1 ~-8 ~1 ~1 ~4 stone_slab2},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @e[name=GGB] ~ ~ ~ /particle blockcrack_2 ~ ~-.4 ~ .1 0 .1 1 3 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add graBlk dummy},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/entitydata @e[score_graAtr_min=0,score_graAtr=0] {NoAI:0}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graItm_min=0,score_graItm=0] ~ ~ ~ /scoreboard players set @e[score_graAtr_min=1,score_graAtr=1] graAtr 0},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~ ~ ~-9 {Block:command_block,TileEntityData:{Command:/execute @e[type=Item,score_graItm_min=1,score_graItm=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=2,score_graItm=2,r=1] ~ ~ ~ /execute @e[type=Item,score_graItm_min=3,score_graItm=3,r=1] ~ ~ ~ /particle portal ~ ~ ~ .1 .1 .1 1 100 force},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] graItm 3 {Item:{id:"minecraft:redstone_block",Count:16b}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] graItm 2 {Item:{id:"minecraft:nether_star"}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] graItm 1 {Item:{id:"minecraft:arrow"}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add graItm dummy},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add graClk stat.useItem.minecraft.carrot_on_a_stick},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~-1 ~ ~ ~-1 ~6 ~7 redstone_block},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/summon FallingSand ~-2 ~1 ~-9 {Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=3,score_graClk=3] ~ ~ ~ /kill @e[type=Slime,name=GunTarget]},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=3,score_graClk=3] ~ ~ ~ /tp @e[type=Slime,name=GunTarget] ~ ~-400 ~},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=3,score_graClk=3] ~ ~ ~ /execute @e[type=Slime,name=GunTarget] ~ ~ ~ /playsound dig.stone @a ~ ~ ~ 10 1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=3,score_graClk=3] ~ ~ ~ /execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /setblock ~ ~ ~ air 0},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=3,score_graClk=3] ~ ~ ~ /execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~ ~ /scoreboard players set @e[name=ASGGP1] graBlk 1},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_graClk_min=3,score_graClk=3] ~ ~ ~ /execute @e[type=Slime,name=GunTarget,score_graTmr_min=-1,score_graTmr=-1] ~ ~1 ~ /entitydata @e[name=ASGGP1] {Equipment:[{},{},{},{},{id:grass}]}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~1 ~ ~ ~1 ~6 ~7 stone},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0}}}}}}}},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:stained_hardened_clay,Data:14,Time:1,DropItem:0,Riding:{id:"FallingSand",Block:redstone_block,Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~1 ~-1 ~ ~1 ~-5 ~ redstone_block},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~1 ~-2 ~14 ~-1 ~4 ~14 redstone_block},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~2 ~-2 ~3 ~-2 ~-2 ~15 stone_slab2 8},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~2 ~7 ~3 ~-2 ~7 ~15 air},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/fill ~2 ~ ~3 ~-2 ~8 ~15 stained_glass 14 hollow},Time:1,DropItem:0,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/gamerule commandBlockOutput false},Time:1,DropItem:0}}}}}}}}}}}}}}
No comments:
Post a Comment