Hand Cannon Command Block [1.12.2]
Простая команда для командного блока Hand Cannon добавит в игру ручной гранатомет. RPG стреляет пушечными ядрами, наносит разрушительный и смертельный урон всем без исключения!
Как использовать команду Hand Cannon в командном блоке
Скачать команду для командного Hand Cannon
Для 1.12.2
summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:"gamerule commandBlockOutput false"},{id:commandblock_minecart,Command:"fill ~2 ~-3 ~-1 ~20 ~-1 ~2 stained_hardened_clay 11 hollow"},{id:commandblock_minecart,Command:"fill ~2 ~-2 ~-1 ~20 ~-2 ~2 stained_glass 7 0 stained_hardened_clay"},{id:commandblock_minecart,Command:"scoreboard objectives add HC stat.useItem.minecraft.snowball"},{id:commandblock_minecart,Command:""},{id:commandblock_minecart,Command:"setblock ~1 ~-3 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say Hand Cannon In One Command By CowsDaBest!\\\"}}\",Text2:\"{\\\"text\\\":\\\"Information\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say To Get The Hand Cannon, Drop 1 Iron Block, 2 Gold Ingots, And 1 Coal Block On The Ground Together! \\\"},\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say To Get The Cannon Balls, Drop 1 Iron Block And 1 Piece Of Coal On The Ground Together To Get 9 Cannon Balls!\\\"}}\",Text4:\"{\\\"text\\\":\\\"\\\"}\"}"},{id:commandblock_minecart,Command:"setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say Thank You For Using Hand Cannon In One Command By CowsDaBest!\\\"}}\",Text2:\"{\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard objectives remove HC\\\"},\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"\\\"}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~19 ~1 ~2 air\\\"}}\"}"},{id:commandblock_minecart,Command:"fill ~3 ~-2 ~ ~19 ~-2 ~1 chain_command_block 5"},{id:commandblock_minecart,Command:"fill ~8 ~-2 ~1 ~6 ~-2 ~1 chain_command_block 12"},{id:commandblock_minecart,Command:"fill ~10 ~-2 ~1 ~9 ~-2 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"fill ~14 ~-2 ~1 ~11 ~-2 ~1 chain_command_block 12"},{id:commandblock_minecart,Command:"fill ~19 ~-2 ~1 ~15 ~-2 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~19 ~-2 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~-2 ~ repeating_command_block 5"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=KCB] ~ ~ ~ playsound minecraft:entity.chicken.ambient master @a[r=10] ~ ~ ~ 1 0 1\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=KCB] ~ ~ ~ kill @e[type=item,tag=POC,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=KCB] ~ ~ ~ kill @e[type=item,tag=IB,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=IB] ~ ~ ~ execute @e[type=item,tag=POC,r=1] ~ ~ ~ summon item ~ ~ ~ {Item:{id:\\\"minecraft:skull\\\",Damage:3s,Count:9b,tag:{CB:1b,display:{LocName:\\\"Cannonball\\\"},SkullOwner:{Id:\\\"4dc013ea-3132-4271-a54a-ebc1f543968a\\\",Properties:{textures:[{Value:\\\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTk2NzU0ZDMzMDQzNTM0NWFhZTNhOWYwNjNjZmNhNDJhZmIyOGI3YzVjNGJiOWYyOTRlZDI1MjdkOTYxIn19fQ==\\\"}]}}}},Tags:[\\\"KCB\\\"]}\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-2 ~1 {auto:1,Command:\"scoreboard players tag @e[type=item] add POC {Item:{id:\\\"minecraft:coal\\\",Count:1b},OnGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=KHC] ~ ~ ~ playsound minecraft:entity.wither.shoot master @a[r=10] ~ ~ ~ 1 1 1\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=KHC] ~ ~ ~ kill @e[type=item,tag=CBL,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=KHC] ~ ~ ~ kill @e[type=item,tag=GI,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=KHC] ~ ~ ~ kill @e[type=item,tag=IB,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~15 ~-2 ~1 {auto:1,Command:\"execute @e[type=item,tag=IB] ~ ~ ~ execute @e[type=item,tag=GI,r=1] ~ ~ ~ execute @e[type=item,tag=CBL,r=1] ~ ~ ~ summon item ~ ~ ~ {Item:{id:\\\"minecraft:skull\\\",Damage:3s,Count:1b,tag:{HC:1b,display:{LocName:\\\"Hand Cannon\\\"},SkullOwner:{Id:\\\"b9e7bcb6-f69e-437d-af16-642fb0d94c0b\\\",Properties:{textures:[{Value:\\\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTA4ODljZTQ3NmQ2YTgxOTRhMjQ3OWM4Yjg1NjY0MzI0NjgxMmRhYTQzZjcwYTBlZTgwZjQ1YTIyNTNkNDQyIn19fQ==\\\"}]}}}},Tags:[\\\"KHC\\\"]}\"}"},{id:commandblock_minecart,Command:"blockdata ~16 ~-2 ~1 {auto:1,Command:\"scoreboard players tag @e[type=item] add CBL {Item:{id:\\\"minecraft:coal_block\\\",Count:1b},OnGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~17 ~-2 ~1 {auto:1,Command:\"scoreboard players tag @e[type=item] add GI {Item:{id:\\\"minecraft:gold_ingot\\\",Count:2b},OnGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~18 ~-2 ~1 {auto:1,Command:\"scoreboard players tag @e[type=item] add IB {Item:{id:\\\"minecraft:iron_block\\\",Count:1b},OnGround:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~19 ~-2 ~1 {auto:1,Command:\"scoreboard players set @a[score_HC_min=1] HC 0\"}"},{id:commandblock_minecart,Command:"blockdata ~19 ~-2 ~ {auto:1,Command:\"scoreboard players tag @a[tag=CB] remove CB\"}"},{id:commandblock_minecart,Command:"blockdata ~18 ~-2 ~ {auto:1,Command:\"scoreboard players tag @a[tag=HC] remove HC\"}"},{id:commandblock_minecart,Command:"blockdata ~17 ~-2 ~ {auto:1,Command:\"scoreboard players tag @a[tag=HCCB] remove HCCB\"}"},{id:commandblock_minecart,Command:"blockdata ~16 ~-2 ~ {auto:1,Command:\"execute @a[tag=HCCB,score_HC_min=1] ~ ~ ~ playsound minecraft:entity.wither.shoot master @a[r=10] ~ ~ ~ 1 2 1\"}"},{id:commandblock_minecart,Command:"blockdata ~15 ~-2 ~ {auto:1,Command:\"execute @a[tag=!HCCB] ~ ~ ~ clear @s snowball 0 1 {CB:1b,display:{LocName:\\\"Cannon Ball\\\"}}\"}"},{id:commandblock_minecart,Command:"blockdata ~14 ~-2 ~ {auto:1,Command:\"execute @a[tag=HCCB,score_HC_min=1] ~ ~ ~ clear @s skull 3 1 {CB:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~13 ~-2 ~ {auto:1,Command:\"kill @e[type=snowball,tag=CB,score_HC_min=75]\"}"},{id:commandblock_minecart,Command:"blockdata ~12 ~-2 ~ {auto:1,Command:\"scoreboard players add @e[type=snowball,tag=CB] HC 1\"}"},{id:commandblock_minecart,Command:"blockdata ~11 ~-2 ~ {auto:1,Command:\"execute @e[type=snowball,tag=CB] ~ ~ ~ effect @e[type=!item,r=3,tag=!HCCB] wither 1 1 true\"}"},{id:commandblock_minecart,Command:"blockdata ~10 ~-2 ~ {auto:1,Command:\"tp @e[type=armor_stand,tag=CB] ~ ~-1000 ~\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~-2 ~ {auto:1,Command:\"execute @e[type=snowball,tag=CB] ~ ~ ~ summon armor_stand ~ ~-1.5 ~ {Tags:[\\\"CB\\\"],Marker:1,NoGravity:1b,Invisible:1,Invulnerable:1,NoBasePlate:1,ArmorItems:[{},{},{},{id:\\\"minecraft:skull\\\",Damage:3,Count:1b,tag:{SkullOwner:{Id:\\\"4dc013ea-3132-4271-a54a-ebc1f543968a\\\",Properties:{textures:[{Value:\\\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTk2NzU0ZDMzMDQzNTM0NWFhZTNhOWYwNjNjZmNhNDJhZmIyOGI3YzVjNGJiOWYyOTRlZDI1MjdkOTYxIn19fQ==\\\"}]}}}}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~-2 ~ {auto:1,Command:\"execute @a[tag=HCCB,score_HC_min=1] ~ ~ ~ scoreboard players tag @e[type=snowball,c=1] add CB \"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~-2 ~ {auto:1,Command:\"execute @a[tag=HCCB,score_HC_min=1] ~ ~ ~ entitydata @e[type=snowball,tag=!CB,c=1] {NoGravity:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~-2 ~ {auto:1,Command:\"execute @a[tag=HCCB] ~ ~ ~ replaceitem entity @s slot.weapon.offhand snowball 1 0 {CB:1b,display:{LocName:\\\"Cannon Ball\\\"}}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~-2 ~ {auto:1,Command:\"execute @a[tag=HC] ~ ~ ~ scoreboard players tag @s[tag=CB] add HCCB\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~-2 ~ {auto:1,Command:\"scoreboard players tag @a add CB {Inventory:[{tag:{CB:1b}}]}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~-2 ~ {auto:1,Command:\"scoreboard players tag @a add HC {SelectedItem:{id:\\\"minecraft:skull\\\",tag:{HC:1b}}}\"}"},{id:commandblock_minecart,Command:"setblock ~ ~ ~1 command_block 0 0 {Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}]}