INIT:scoreboard objectives add Pyr_I dummy
INIT:scoreboard objectives add Pyr_Spec dummy
INIT:scoreboard objectives add Pyr_Time dummy
INIT:tellraw @a[r=300] [{"color":"gold","bold":true,"text":"Pyro Items "},{"color":"dark_aqua","text":"command module has been "},{"color":"gold","bold":true,"text":"installed!"}]
INIT:tellraw @a[r=300] {"text":""}
INIT:tellraw @a[r=300] {"color":"red","text":" - This command was created by MrGarretto"}
INIT:tellraw @a[r=300] {"color":"red","text":" - Over 20,000 characters"}
INIT:tellraw @a[r=300] ["",{"text":"youtube.com/c/JustMrGarretto","color":"dark_red","underlined":"true","clickEvent":{"action":"open_url","value":"https://www.youtube.com/c/justmrgarretto"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Click here to visit my Youtube channel!","color":"white"}]}}}]
scoreboard players set @e[type=Item] Pyr_I 1 {Item:{id:"minecraft:lava_bucket"}}
scoreboard players set @e[type=Item] Pyr_I 2 {Item:{id:"minecraft:dispenser"}}
execute @e[score_Pyr_I_min=1,score_Pyr_I=1] ~ ~ ~ execute @e[r=1,score_Pyr_I_min=2,score_Pyr_I=2] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:spawn_egg",Count:1,tag:{EntityTag:{id:Blaze},display:{Name:"Pyro_Workbench"}}}}
execute @e[score_Pyr_I_min=1,score_Pyr_I=1] ~ ~ ~ execute @e[r=1,score_Pyr_I_min=2,score_Pyr_I=2] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.2 50
execute @e[score_Pyr_I_min=1,score_Pyr_I=1] ~ ~ ~ execute @e[r=1,score_Pyr_I_min=2,score_Pyr_I=2] ~ ~ ~ kill @e[type=Item,r=3,score_Pyr_I_min=1,score_Pyr_I=2]
scoreboard players set @e[type=Item] Pyr_I 3 {Item:{id:"minecraft:fire_charge"}}
scoreboard players set @e[type=Item] Pyr_I 4 {Item:{id:"minecraft:iron_block"}}
execute @e[score_Pyr_I_min=3,score_Pyr_I=3] ~ ~ ~ execute @e[r=1,score_Pyr_I_min=4,score_Pyr_I=4] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:iron_chestplate",Count:1,tag:{display:{Name:"Heat_Armor"}}}}
execute @e[score_Pyr_I_min=3,score_Pyr_I=3] ~ ~ ~ execute @e[r=1,score_Pyr_I_min=4,score_Pyr_I=4] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.2 50
execute @e[score_Pyr_I_min=3,score_Pyr_I=3] ~ ~ ~ execute @e[r=1,score_Pyr_I_min=4,score_Pyr_I=4] ~ ~ ~ kill @e[type=Item,r=3,score_Pyr_I_min=3,score_Pyr_I=4]
/execute @e[type=Blaze,name=Pyro_Workbench] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:"PYRWorkbench",Invisible:1,Marker:1}
/execute @e[type=Blaze,name=Pyro_Workbench] ~ ~ ~ fill ~-1 ~ ~-1 ~1 ~ ~1 fire 0 replace air
/execute @e[type=Blaze,name=Pyro_Workbench] ~ ~ ~ fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 netherrack 0
/execute @e[type=Blaze,name=Pyro_Workbench] ~ ~ ~ setblock ~ ~ ~ stonebrick 3
/tp @e[type=Blaze,name=Pyro_Workbench] ~ ~-500 ~
# Don't let players pickup the stonebrick
scoreboard players set @e[type=Item] Pyr_I 5 {Item:{id:"minecraft:stonebrick"}}
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~ ~ kill @e[type=Item,score_Pyr_I_min=5,score_Pyr_I=5,r=3]
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~ ~ detect ~ ~ ~ air 0 kill @e[type=ArmorStand,name=PYRWorkbench,r=1]
# Pyro workbench crafting
scoreboard players set @e[type=Item] Pyr_I 6 {Item:{id:"minecraft:blaze_rod"}}
scoreboard players set @e[type=Item] Pyr_I 7 {Item:{id:"minecraft:hopper"}}
scoreboard players set @e[type=Item] Pyr_I 8 {Item:{id:"minecraft:iron_ingot"}}
scoreboard players set @e[type=Item] Pyr_I 9 {Item:{id:"minecraft:coal"}}
scoreboard players set @e[type=Item] Pyr_I 10 {Item:{id:"minecraft:clay_ball"}}
scoreboard players set @e[type=Item] Pyr_I 11 {Item:{id:"minecraft:blaze_powder"}}
# Flamethrower
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=6,score_Pyr_I=6,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=7,score_Pyr_I=7,r=1] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:fishing_rod",Count:1,tag:{display:{Name:"Flamethrower"}}}}
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=6,score_Pyr_I=6,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=7,score_Pyr_I=7,r=1] ~ ~ ~ particle smoke ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.2 50
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=6,score_Pyr_I=6,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=7,score_Pyr_I=7,r=1] ~ ~ ~ kill @e[type=Item,score_Pyr_I_min=6,score_Pyr_I=7,r=5]
# Oil canister
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=8,score_Pyr_I=8,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=9,score_Pyr_I=9,r=1] ~ ~ ~ give @p brick 1 0 {display:{Name:"Oil_Canister"}}
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=8,score_Pyr_I=8,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=9,score_Pyr_I=9,r=1] ~ ~ ~ particle smoke ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.2 50
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=8,score_Pyr_I=8,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=9,score_Pyr_I=9,r=1] ~ ~ ~ kill @e[type=Item,score_Pyr_I_min=8,score_Pyr_I=9,r=5]
# Molotov Cocktail
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=10,score_Pyr_I=10,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=11,score_Pyr_I=11,r=1] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:"minecraft:egg",Count:2,tag:{display:{Name:"Molotov_Cocktail"}}}}
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=10,score_Pyr_I=10,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=11,score_Pyr_I=11,r=1] ~ ~ ~ particle smoke ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.2 50
/execute @e[type=ArmorStand,name=PYRWorkbench] ~ ~1 ~ execute @e[score_Pyr_I_min=10,score_Pyr_I=10,r=1] ~ ~ ~ execute @e[score_Pyr_I_min=11,score_Pyr_I=11,r=1] ~ ~ ~ kill @e[type=Item,score_Pyr_I_min=10,score_Pyr_I=11,r=5]
# Flamethrower
INIT:/scoreboard objectives add Pyr_Flame dummy
INIT:/scoreboard objectives add Pyr_Prot dummy
/scoreboard players set @a Pyr_Flame 0
/scoreboard players set @a Pyr_Flame 1 {SelectedItem:{id:"minecraft:fishing_rod",tag:{display:{Name:"Flamethrower"}}}}
/execute @a[score_Pyr_Flame_min=1] ~ ~ ~ execute @e[name=unknown,r=50,c=1] ~ ~ ~ particle flame ~ ~ ~ 0 0 0 0.1 100
/execute @a[score_Pyr_Flame_min=1] ~ ~ ~ execute @e[name=unknown,r=50,c=1] ~ ~ ~ entitydata @e[r=5] {Fire:60}
/scoreboard players set @a Pyr_Prot 0
/scoreboard players set @a Pyr_Prot 1 {Inventory:[{Slot:102b,tag:{display:{Name:"Heat_Armor"}}}]}
# Heat Armor
/effect @a[score_Pyr_Prot_min=1] minecraft:fire_resistance 3 1 true
# Oil canisters
/scoreboard players set @e[type=Item] Pyr_Spec 0
/scoreboard players add @e[type=Item] Pyr_Time 0
/scoreboard players add @e[type=Item,score_Pyr_Time=35] Pyr_Time 1
/scoreboard players set @e[type=Item,score_Pyr_Time_min=25] Pyr_Spec 1 {Item:{id:"minecraft:brick",tag:{display:{Name:"Oil_Canister"}}}}
/scoreboard players set @e[type=Item,score_Pyr_Spec_min=1,score_Pyr_Spec=1,c=0] Pyr_Spec 2
/execute @e[type=Item,score_Pyr_Spec_min=1,score_Pyr_Spec=1] ~ ~ ~ detect ~ ~-1 ~ air 0 scoreboard players set @e[type=Item,score_Pyr_Spec_min=1,score_Pyr_Spec=1,c=0] Pyr_Spec 1
/execute @e[type=Item,score_Pyr_Spec_min=2,score_Pyr_Spec=2] ~ ~ ~ fill ~-2 ~ ~-1 ~2 ~ ~1 carpet 15 replace air
/execute @e[type=Item,score_Pyr_Spec_min=2,score_Pyr_Spec=2] ~ ~ ~ fill ~1 ~ ~-2 ~-1 ~ ~2 carpet 15 replace air
/execute @e[type=Item,score_Pyr_Spec_min=2,score_Pyr_Spec=2] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 1 100
/execute @e[type=Item,score_Pyr_Spec_min=2,score_Pyr_Spec=2] ~ ~ ~ playsound random.fizz @a[r=70] ~ ~ ~ 1 1
/execute @e[type=Item,score_Pyr_Spec_min=2,score_Pyr_Spec=2] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:"PYROil",Marker:1,Invisible:1,NoGravity:1}
/kill @e[type=Item,score_Pyr_Spec_min=2,score_Pyr_Spec=2]
scoreboard players set @e[type=Item] Pyr_I 12 {Item:{id:"minecraft:carpet"}}
/execute @e[type=ArmorStand,name=PYROil] ~ ~ ~ kill @e[type=Item,score_Pyr_I_min=12,score_Pyr_I=12,r=4]
/execute @e[type=ArmorStand,name=PYROil] ~ ~ ~ detect ~ ~ ~ air 0 kill @e[type=ArmorStand,name=PYROil,r=1]
# Molotov Cocktails
INIT:scoreboard objectives add Pyr_MoCo dummy
/scoreboard players set @a Pyr_MoCo 30 {SelectedItem:{id:"minecraft:egg",tag:{display:{Name:"Molotov_Cocktail"}}}}
/scoreboard players remove @a[score_Pyr_MoCo_min=1] Pyr_MoCo 1
/execute @a[score_Pyr_MoCo_min=1] ~ ~ ~ scoreboard players set @e[type=ThrownEgg,r=10] Pyr_Spec 3
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=3,score_Pyr_Spec=3] ~ ~ ~ particle largesmoke ~ ~ ~ 0 0 0 0.1 40
/scoreboard players set @e[type=ThrownEgg,score_Pyr_Spec_min=3,score_Pyr_Spec=3] Pyr_Spec 4
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ detect ~ ~-1 ~ air 0 scoreboard players set @e[type=ThrownEgg,c=0] Pyr_Spec 3
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ particle flame ~ ~ ~ 0 0 0 0.5 1000
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.2 500
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ playsound random.explode @a[r=70] ~ ~ ~ 1 1
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ summon ArmorStand ~ ~1 ~ {CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1}]}]}]}]}]}]}]}]}]}]}]}]}
/kill @e[type=ArmorStand,name=PYRHold]
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ spreadplayers ~ ~ 0 4 false @e[type=ArmorStand,name=PYRBomb]
/execute @e[type=ArmorStand,name=PYRBomb] ~ ~ ~ summon FallingSand ~ ~ ~ {Block:fire,Time:1}
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ execute @e[type=ArmorStand,name=PYROil,r=4] ~ ~ ~ summon ArmorStand ~ ~1 ~ {CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRBomb",Marker:1b,Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRHold",Invisible:1,Passengers:[{id:"ArmorStand",CustomName:"PYRLava",Marker:1b,Invisible:1}]}]}]}]}]}]}]}]}]}]}]}]}
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ execute @e[type=ArmorStand,name=PYROil,r=4] ~ ~ ~ kill @e[type=ArmorStand,name=PYRHold]
/execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ execute @e[type=ArmorStand,name=PYROil,r=4] ~ ~ ~ execute @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4] ~ ~ ~ spreadplayers ~ ~ 0 5 false @e[type=ArmorStand,name=PYRBomb]
/execute @e[type=ArmorStand,name=PYRBomb] ~ ~ ~ summon FallingSand ~ ~ ~ {Block:fire,Time:1}
/execute @e[type=ArmorStand,name=PYRLava] ~ ~ ~ summon FallingSand ~ ~ ~ {Block:lava,Time:1}
/kill @e[type=ArmorStand,name=PYRBomb]
/scoreboard players add @e[type=ArmorStand,name=PYRLava] Pyr_Time 1
/kill @e[type=ArmorStand,name=PYRLava,score_Pyr_Time_min=400]
/kill @e[type=ThrownEgg,score_Pyr_Spec_min=4,score_Pyr_Spec=4]