Weapon Pack Trigger
Weapon Pack Trigger
Weapon Pack Trigger
[{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 ~-3 ~-3 ~10
~1 ~3 quartz_block hollow"},{id:command_block_minecart,Command:"fill ~2 ~-2 ~-3 ~10
~ ~3 light_blue_stained_glass replace quartz_block"},
{id:command_block_minecart,Command:"/scoreboard objectives add LBL dummy"},
{id:command_block_minecart,Command:"/scoreboard objectives add GBL dummy"},
{id:command_block_minecart,Command:"/scoreboard objectives add Bt dummy"},
{id:command_block_minecart,Command:"/scoreboard objectives add R dummy"},
{id:command_block_minecart,Command:"/scoreboard players set @a GBL 0"},
{id:command_block_minecart,Command:"/scoreboard players set @a R 0"},
{id:command_block_minecart,Command:"/scoreboard players set @a Bt 0"},
{id:command_block_minecart,Command:"fill ~3 ~-2 ~-2 ~9 ~ ~2
chain_command_block[facing=east]"},{id:command_block_minecart,Command:"setblock ~3
~-1 ~-2 chain_command_block[facing=up]"},{id:command_block_minecart,Command:"fill
~9 ~-1 ~-2 ~4 ~-1 ~-2 chain_command_block[facing=west]"},
{id:command_block_minecart,Command:"setblock ~9 ~-1 ~-1
chain_command_block[facing=north]"},{id:command_block_minecart,Command:"setblock ~3
~-1 ~ chain_command_block[facing=north]"},{id:command_block_minecart,Command:"fill
~9 ~-1 ~ ~4 ~-1 ~ chain_command_block[facing=west]"},
{id:command_block_minecart,Command:"setblock ~9 ~-1 ~1
chain_command_block[facing=north]"},{id:command_block_minecart,Command:"setblock ~3
~-1 ~2 chain_command_block[facing=north]"},{id:command_block_minecart,Command:"fill
~9 ~-1 ~2 ~4 ~-1 ~2 chain_command_block[facing=west]"},
{id:command_block_minecart,Command:"setblock ~9 ~-2 ~2
chain_command_block[facing=up]"},{id:command_block_minecart,Command:"setblock ~3 ~-
2 ~1 chain_command_block[facing=south]"},{id:command_block_minecart,Command:"fill
~9 ~-2 ~1 ~4 ~-2 ~1 chain_command_block[facing=west]"},
{id:command_block_minecart,Command:"setblock ~9 ~-2 ~
chain_command_block[facing=south]"},{id:command_block_minecart,Command:"setblock ~3
~-2 ~-1 chain_command_block[facing=south]"},
{id:command_block_minecart,Command:"fill ~9 ~-2 ~-1 ~4 ~-2 ~-1
chain_command_block[facing=west]"},{id:command_block_minecart,Command:"setblock ~9
~-2 ~-2 chain_command_block[facing=south]"},
{id:command_block_minecart,Command:"setblock ~3 ~-2 ~-2
repeating_command_block[facing=east]"},{id:command_block_minecart,Command:"data
merge block ~3 ~ ~-2 {auto:1,Command:\"tag @a remove GRLD\"}"},
{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~-2
{auto:1,Command:\"scoreboard players add @a[tag=GRLD] GBL 100\"}"},
{id:command_block_minecart,Command:"data merge block ~4 ~-1 ~-2
{auto:1,Command:\"clear @a[tag=GRLD] minecraft:sea_pickle{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링 총알
팩\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}} 1\"}"},
{id:command_block_minecart,Command:"data merge block ~5 ~-1 ~-2
{auto:1,Command:\"tag @a[nbt={Inventory:[{id:\\\"minecraft:sea_pickle\\\",tag:
{display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링 총알
팩\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}],SelectedItem:
{id:\\\"minecraft:dragon_head\\\",Count:1b,tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"yellow\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중\\\\\\\",\\\\\
\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}}},scores={GBL=0}] add GRLD\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~-2
{auto:1,Command:\"execute as @a[nbt={Inventory:
[{id:\\\"minecraft:dragon_head\\\",Count:1b,Slot:-106b,tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"white\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중지됨\\\\\\\",\\
\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}}]}] run replaceitem entity @s
weapon.offhand air\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-1
~-2 {auto:1,Command:\"execute as @a[nbt={Inventory:
[{id:\\\"minecraft:dragon_head\\\",Count:1b,Slot:-106b,tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"white\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중지됨\\\\\\\",\\
\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}}]}] run replaceitem entity @s
weapon.mainhand minecraft:dragon_head{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"yellow\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중\\\\\\\",\\\\\
\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-1 ~-2
{auto:1,Command:\"execute as @a[nbt={Inventory:
[{id:\\\"minecraft:dragon_head\\\",Count:1b,Slot:-106b,tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"yellow\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중\\\\\\\",\\\\\
\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}}]}] run replaceitem entity @s
weapon.offhand air\"}"},{id:command_block_minecart,Command:"data merge block ~9 ~-1
~-2 {auto:1,Command:\"execute as @a[nbt={Inventory:
[{id:\\\"minecraft:dragon_head\\\",Count:1b,Slot:-106b,tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"yellow\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중\\\\\\\",\\\\\
\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}}]}] run replaceitem entity @s
weapon.mainhand minecraft:dragon_head{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"white\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중지됨\\\\\\\",\\
\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}\"}"},
{id:command_block_minecart,Command:"data merge block ~9 ~-1 ~-1
{auto:1,Command:\"tag @e remove Tu\"}"},{id:command_block_minecart,Command:"data
merge block ~8 ~-1 ~-1 {auto:1,Command:\"kill
@e[tag=TX,type=minecraft:armor_stand]\"}"},{id:command_block_minecart,Command:"data
merge block ~7 ~-1 ~-1 {auto:1,Command:\"execute as
@e[type=minecraft:armor_stand,tag=Tu] at @s run tp @s ~ ~ ~ facing entity
@e[tag=TX,limit=1,sort=nearest]\"}"},{id:command_block_minecart,Command:"data merge
block ~6 ~-1 ~-1 {auto:1,Command:\"tag @e remove LZAP\"}"},
{id:command_block_minecart,Command:"data merge block ~5 ~-1 ~-1
{auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:diamond_horse_armor\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.offhand air\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-1
~-1 {auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:diamond_horse_armor\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.mainhand diamond_horse_armor{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}\"}"},
{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~-1
{auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:diamond_horse_armor\\\",tag:{Enchantments:
[{id:\\\"multishot\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"연발
레이저 총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.offhand air\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-1
~ {auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:diamond_horse_armor\\\",tag:{Enchantments:
[{id:\\\"multishot\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"연발
레이저 총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.mainhand minecraft:diamond_horse_armor{Enchantments:
[{id:\\\"multishot\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"연발
레이저 총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}\"}"},
{id:command_block_minecart,Command:"data merge block ~4 ~-1 ~
{auto:1,Command:\"scoreboard players set @a[tag=LZAP] Bt 0\"}"},
{id:command_block_minecart,Command:"data merge block ~5 ~-1 ~
{auto:1,Command:\"scoreboard players remove @a[tag=LZAP] LBL 1\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~
{auto:1,Command:\"execute as @e[tag=LZAP] at @s positioned ^ ^ ^1.1 run summon
minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~7 ~-1 ~
{auto:1,Command:\"execute as @e[tag=LZAP] at @s positioned ~ ~1 ~ run particle
minecraft:dust 0.8 0.1 0.1 1 ^ ^ ^1 0.1 0.1 0.1 0 30 force @a\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-1 ~
{auto:1,Command:\"execute as @e[tag=LZAP] at @s positioned ^ ^ ^1 run summon
minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"Tu\\\",\\\"Bu\\\",\\\"LSR\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~9 ~-1 ~
{auto:1,Command:\"execute as @e[tag=LZAP] at @s run playsound
minecraft:block.weeping_vines.break master @a ~ ~ ~ 1 0\"}"},
{id:command_block_minecart,Command:"data merge block ~9 ~-1 ~1
{auto:1,Command:\"execute as @e[tag=LZAP] at @s run playsound
minecraft:entity.firework_rocket.blast master @a ~ ~ ~ 1 2 0\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-1 ~1
{auto:1,Command:\"tag @a[nbt={Inventory:
[{id:\\\"minecraft:diamond_horse_armor\\\",tag:{Enchantments:
[{id:\\\"multishot\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"연발
레이저 총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-
106b}]},scores={LBL=1..}] add LZAP\"}"},{id:command_block_minecart,Command:"data
merge block ~7 ~-1 ~1 {auto:1,Command:\"tag @a[nbt={Inventory:
[{id:\\\"minecraft:diamond_horse_armor\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-
106b}]},scores={Bt=10..,LBL=1..}] add LZAP\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~1
{auto:1,Command:\"tag @a remove BOOM\"}"},{id:command_block_minecart,Command:"data
merge block ~5 ~-1 ~1 {auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:dispenser\\\",tag:{Enchantments:[{id:\\\"A\\\",lvl:1}],display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
대포\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.offhand air\"}"},{id:command_block_minecart,Command:"data merge block ~4 ~-1
~1 {auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:dispenser\\\",tag:{Enchantments:[{id:\\\"A\\\",lvl:1}],display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
대포\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.mainhand minecraft:dispenser{Enchantments:[{id:\\\"A\\\",lvl:1}],display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
대포\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}\"}"},
{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~1
{auto:1,Command:\"clear @a[tag=BOOM] minecraft:conduit{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
폭약\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}} 1\"}"},
{id:command_block_minecart,Command:"data merge block ~3 ~-1 ~2
{auto:1,Command:\"execute as @e[tag=BOOM] at @s positioned ^ ^ ^1.1 run summon
minecraft:armor_stand ~ ~ ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~4 ~-1 ~2
{auto:1,Command:\"execute as @e[tag=BOOM] at @s run particle minecraft:smoke ^ ^2
^1 0.1 0.1 0.1 0 30 force @a\"}"},{id:command_block_minecart,Command:"data merge
block ~5 ~-1 ~2 {auto:1,Command:\"execute as @e[tag=BOOM] at @s run playsound
minecraft:entity.generic.explode master @a ~ ~ ~ 0.3 1 0\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-1 ~2
{auto:1,Command:\"execute as @e[tag=BOOM] at @s run playsound
minecraft:block.stone.break master @a ~ ~ ~ 1 1.6 0\"}"},
{id:command_block_minecart,Command:"data merge block ~7 ~-1 ~2
{auto:1,Command:\"execute as @e[tag=BOOM] at @s positioned ^ ^ ^1 run summon
minecraft:armor_stand ~ ~ ~ {Tags:
[\\\"Tu\\\",\\\"Bu\\\",\\\"BLST\\\"],Invulnerable:1,Invisible:1,NoGravity:1,ArmorIt
ems:[{},{},{},{id:\\\"conduit\\\",Count:1}]}\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-1 ~2
{auto:1,Command:\"tag @a[nbt={Inventory:[{id:\\\"minecraft:dispenser\\\",tag:
{Enchantments:[{id:\\\"A\\\",lvl:1}],display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
대포\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b},
{id:\\\"minecraft:conduit\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
폭약\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}]}] add BOOM\"}"},
{id:command_block_minecart,Command:"data merge block ~9 ~-1 ~2
{auto:1,Command:\"tag @e remove FIRE\"}"},{id:command_block_minecart,Command:"data
merge block ~9 ~-2 ~2 {auto:1,Command:\"scoreboard players set @a[tag=FIRE] Bt
0\"}"},{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~2
{auto:1,Command:\"execute as @e[tag=FIRE] at @s positioned ^ ^ ^1.1 run summon
minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~2
{auto:1,Command:\"execute as @e[tag=FIRE] at @s positioned ~ ~1 ~ run particle
minecraft:smoke ^ ^ ^1 0.1 0.1 0.1 0 30 force @a\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~2
{auto:1,Command:\"execute as @e[tag=FIRE] at @s run playsound
minecraft:entity.firework_rocket.blast master @a ~ ~ ~ 1 1 0\"}"},
{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~2
{auto:1,Command:\"execute as @e[tag=FIRE] at @s run playsound
minecraft:block.stone.break master @a ~ ~ ~ 1 1 0\"}"},
{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~2
{auto:1,Command:\"execute as @e[tag=FIRE] at @s positioned ^ ^ ^1 run summon
minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"Tu\\\",\\\"Bu\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~2
{auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{Enchantments:
[{id:\\\"A\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"기관총\\\\\\
\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.offhand air\"}"},{id:command_block_minecart,Command:"data merge block ~3 ~-2
~1 {auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{Enchantments:
[{id:\\\"A\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"기관총\\\\\\
\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.mainhand minecraft:iron_horse_armor{Enchantments:
[{id:\\\"A\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"기관총\\\\\\
\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}\"}"},
{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~1
{auto:1,Command:\"clear @a[tag=FIRE,nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{Enchantments:
[{id:\\\"A\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"기관총\\\\\\
\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
minecraft:ghast_tear{display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"기관총 총알\\\\
\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}} 1\"}"},
{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~1
{auto:1,Command:\"tag @a[nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{Enchantments:
[{id:\\\"A\\\",lvl:1}],display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"기관총\\\\\\
\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b},
{id:\\\"minecraft:ghast_tear\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"기관총
총알\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}]}] add FIRE\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~1
{auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
권총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.offhand air\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2
~1 {auto:1,Command:\"replaceitem entity @a[nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
권총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
weapon.mainhand minecraft:iron_horse_armor{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
권총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~1
{auto:1,Command:\"clear @a[tag=FIRE,nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
권총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b}]}]
minecraft:gold_nugget{display:{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"총알\\\\\\\",
\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}} 1\"}"},
{id:command_block_minecart,Command:"data merge block ~9 ~-2 ~1
{auto:1,Command:\"tag @a[nbt={Inventory:
[{id:\\\"minecraft:iron_horse_armor\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
권총\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}},Slot:-106b},
{id:\\\"minecraft:gold_nugget\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"
총
알\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}]},scores={Bt=10..}]
add FIRE\"}"},{id:command_block_minecart,Command:"data merge block ~9 ~-2 ~
{auto:1,Command:\"scoreboard players add @a Bt 1\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~
{auto:1,Command:\"scoreboard players remove @e[tag=GTL,scores={GBL=1..}] GBL
1\"}"},{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..}] run playsound
minecraft:block.stone.break block @a ~ ~ ~ 2 1 0\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..}] positioned ^ ^ ^1 run
particle minecraft:smoke ~ ~1 ~ 0.1 0.1 0.1 0 7 force @a\"}"},
{id:command_block_minecart,Command:"data merge block ~5 ~-2 ~
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..,R=1}] positioned ^ ^ ^1.1
run summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..,R=7}] positioned ^-0.00133
^ ^1.1 run summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..,R=4}] positioned ^0.00067
^0.00133 ^1.1 run summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~3 ~-2 ~-1
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..,R=6}] positioned ^0.00133 ^
^1.1 run summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~4 ~-2 ~-1
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..,R=5}] positioned ^-0.00067
^0.00133 ^1.1 run summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block
~5 ~-2 ~-1 {auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..,R=3}]
positioned ^-0.00067 ^-0.00133 ^1.1 run summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~-1
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..,R=2}] positioned ^0.00067
^-0.00133 ^1.1 run summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"TX\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~-1
{auto:1,Command:\"execute at @e[tag=GTL,scores={GBL=1..}] positioned ^ ^ ^1 run
summon minecraft:armor_stand ~ ~1 ~ {Tags:
[\\\"Tu\\\",\\\"Bu\\\"],Invulnerable:1,Invisible:1,NoGravity:1}\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~-1
{auto:1,Command:\"scoreboard players set @e[tag=GTL,scores={R=8..}] R 1\"}"},
{id:command_block_minecart,Command:"data merge block ~9 ~-2 ~-1
{auto:1,Command:\"scoreboard players add @e[tag=GTL] R 1\"}"},
{id:command_block_minecart,Command:"data merge block ~9 ~-2 ~-2
{auto:1,Command:\"execute as @a[tag=GTL] run title @s actionbar
[{\\\"text\\\":\\\"탄환 : \\\"},{\\\"score\\\":
{\\\"objective\\\":\\\"GBL\\\",\\\"name\\\":\\\"@s\\\"}}]\"}"},
{id:command_block_minecart,Command:"data merge block ~8 ~-2 ~-2
{auto:1,Command:\"tag @a[nbt=!{SelectedItem:
{id:\\\"minecraft:dragon_head\\\",Count:1b,tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"yellow\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중\\\\\\\",\\\\\
\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}}}] remove GTL\"}"},
{id:command_block_minecart,Command:"data merge block ~7 ~-2 ~-2
{auto:1,Command:\"tag @a[nbt={SelectedItem:
{id:\\\"minecraft:dragon_head\\\",Count:1b,tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"개틀링
건\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\
\\"yellow\\\\\\\"}\\\",Lore:[\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"작동 중\\\\\\\",\\\\\
\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"]}}}}] add GTL\"}"},
{id:command_block_minecart,Command:"data merge block ~6 ~-2 ~-2
{auto:1,Command:\"execute as @a[scores={LBL=..20},nbt={SelectedItem:
{id:\\\"minecraft:end_crystal\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
배터리\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}}] run title @s
actionbar [{\\\"text\\\":\\\"충전 상태 : \\\",\\\"color\\\":\\\"red\\\"},
{\\\"score\\\":{\\\"objective\\\":\\\"LBL\\\",\\\"name\\\":\\\"@s\\\"}},
{\\\"text\\\":\\\"%\\\"}]\"}"},{id:command_block_minecart,Command:"data merge block
~5 ~-2 ~-2 {auto:1,Command:\"execute as @a[scores={LBL=21..50},nbt={SelectedItem:
{id:\\\"minecraft:end_crystal\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
배터리\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}}] run title @s
actionbar [{\\\"text\\\":\\\"충전 상태 : \\\",\\\"color\\\":\\\"yellow\\\"},
{\\\"score\\\":{\\\"objective\\\":\\\"LBL\\\",\\\"name\\\":\\\"@s\\\"}},
{\\\"text\\\":\\\"%\\\"}]\"}"},{id:command_block_minecart,Command:"data merge block
~4 ~-2 ~-2 {auto:1,Command:\"execute as @a[scores={LBL=51..},nbt={SelectedItem:
{id:\\\"minecraft:end_crystal\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
배터리\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}}] run title @s
actionbar [{\\\"text\\\":\\\"충전 상태 : \\\",\\\"color\\\":\\\"green\\\"},
{\\\"score\\\":{\\\"objective\\\":\\\"LBL\\\",\\\"name\\\":\\\"@s\\\"}},
{\\\"text\\\":\\\"%\\\"}]\"}"},{id:command_block_minecart,Command:"data merge block
~3 ~-2 ~-2 {auto:1,Command:\"scoreboard players set @a[nbt=!{Inventory:
[{id:\\\"minecraft:end_crystal\\\",tag:{display:
{Name:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"레이저
배터리\\\\\\\",\\\\\\\"italic\\\\\\\":\\\\\\\"false\\\\\\\"}\\\"}}}]}] LBL 0\"}"},
{id:command_block_minecart,Command:"setblock ~ ~ ~1 command_block{Command:\"fill ~
~-3 ~-1 ~ ~ ~ air\"}"},{id:command_block_minecart,Command:"setblock ~ ~-1 ~1
redstone_block"},{id:command_block_minecart,Command:"kill
@e[type=command_block_minecart,distance=..1]"}]}]}]}