execute if score @s mt.plot matches 2 run particle minecraft:campfire_cosy_smoke ~ ~ ~ 0 0 0 0.01 20 force
execute if score @s mt.plot matches 2 run particle minecraft:campfire_cosy_smoke ~ ~ ~ 0 0 0 0.01 20 force
execute if score @s mt.plot matches 1 run function mt:particles/epic/frames/f0
execute if score @s mt.plot matches 2 run function mt:particles/epic/frames/f1
execute if score @s mt.plot matches 3 run function mt:particles/epic/frames/f2
execute if score @s mt.plot matches 4 run function mt:particles/epic/frames/f3
execute if score @s mt.plot matches 5 run function mt:particles/epic/frames/f4
execute if score @s mt.plot matches 6 run function mt:particles/epic/frames/f5
execute if score @s mt.plot matches 7 run function mt:particles/epic/frames/f6
execute if score @s mt.plot matches 8 run function mt:particles/epic/frames/f7
execute if score @s mt.plot matches 9 run function mt:particles/epic/frames/f8
execute if score @s mt.plot matches 10 run function mt:particles/epic/frames/f9
execute if score @s mt.plot matches 11 run function mt:particles/epic/frames/f10
execute if score @s mt.plot matches 12 run function mt:particles/epic/frames/f11
execute if score @s mt.plot matches 13 run function mt:particles/epic/frames/f12
execute if score @s mt.plot matches 14 run function mt:particles/epic/frames/f13
execute if score @s mt.plot matches 15 run function mt:particles/epic/frames/f14
execute if score @s mt.plot matches 16 run function mt:particles/epic/frames/f15
execute if score @s mt.plot matches 17 run function mt:particles/epic/frames/f16
execute if score @s mt.plot matches 18 run function mt:particles/epic/frames/f17
execute if score @s mt.plot matches 19 run function mt:particles/epic/frames/f18
execute if score @s mt.plot matches 20 run function mt:particles/epic/frames/f19
execute if score @s mt.plot matches 21 run function mt:particles/epic/frames/f20
execute if score @s mt.plot matches 22 run function mt:particles/epic/frames/f21
execute if score @s mt.plot matches 23 run function mt:particles/epic/frames/f22
execute if score @s mt.plot matches 24 run function mt:particles/epic/frames/f23
execute if score @s mt.plot matches 25 run function mt:particles/epic/frames/f24
execute if score @s mt.plot matches 26 run function mt:particles/epic/frames/f25
execute if score @s mt.plot matches 27 run function mt:particles/epic/frames/f26
execute if score @s mt.plot matches 28 run function mt:particles/epic/frames/f27
execute if score @s mt.plot matches 29 run function mt:particles/epic/frames/f28
execute if score @s mt.plot matches 30 run function mt:particles/epic/frames/f29
execute if score @s mt.plot matches 29 run particle minecraft:flame ~ ~ ~ 0 0 0 0.005 200 force

execute if score @s mt.plot matches 1 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.75 2 0.2
execute if score @s mt.plot matches 2 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.75 2 0.4
execute if score @s mt.plot matches 3 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.75 2 0.6
execute if score @s mt.plot matches 4 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.75 2 0.8
execute if score @s mt.plot matches 5 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.75 2 1
execute if score @s mt.plot matches 6 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.5 1.95 1
execute if score @s mt.plot matches 7 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.5 1.9 1
execute if score @s mt.plot matches 8 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.5 1.85 0.2
execute if score @s mt.plot matches 9 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.5 1.8 0.4
execute if score @s mt.plot matches 10 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.5 1.725 0.6
execute if score @s mt.plot matches 11 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.25 1.65 0.8
execute if score @s mt.plot matches 12 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.25 1.575 1
execute if score @s mt.plot matches 13 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.25 1.5 1
execute if score @s mt.plot matches 14 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.25 1.375 1
execute if score @s mt.plot matches 15 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1.25 1.25 0.2
execute if score @s mt.plot matches 16 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1 1.175 0.4
execute if score @s mt.plot matches 17 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1 1.1 0.6
execute if score @s mt.plot matches 18 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1 1.025 0.8
execute if score @s mt.plot matches 19 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1 0.95 1
execute if score @s mt.plot matches 20 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 1 0.875 1
execute if score @s mt.plot matches 21 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.75 0.8 1
execute if score @s mt.plot matches 22 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.75 0.725 0.4
execute if score @s mt.plot matches 23 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.75 0.6 0.6
execute if score @s mt.plot matches 24 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.75 0.525 0.8
execute if score @s mt.plot matches 25 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.75 0.45 1
execute if score @s mt.plot matches 26 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.5 0.375 1
execute if score @s mt.plot matches 27 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.5 0.3 1
execute if score @s mt.plot matches 28 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.5 0.225 0.4
execute if score @s mt.plot matches 29 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.5 0.15 0.6
execute if score @s mt.plot matches 30 run playsound minecraft:block.amethyst_block.place master @a[distance=..50] ~ ~ ~ 0.5 0.075 0.8

execute at @s[tag=mt.badlands,scores={mt.plot=1}] run function mt:treasure/biomes/badlands/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.basalt_deltas,scores={mt.plot=1}] run function mt:treasure/biomes/basalt_deltas/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.crimson_forest,scores={mt.plot=1}] run function mt:treasure/biomes/crimson_forest/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.dark_forest,scores={mt.plot=1}] run function mt:treasure/biomes/dark_forest/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.deep_dark,scores={mt.plot=1}] run function mt:treasure/biomes/deep_dark/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.default,scores={mt.plot=1}] run function mt:treasure/biomes/default/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.desert,scores={mt.plot=1}] run function mt:treasure/biomes/desert/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.dripstone,scores={mt.plot=1}] run function mt:treasure/biomes/dripstone/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.default_end,scores={mt.plot=1}] run function mt:treasure/biomes/default_end/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.flower,scores={mt.plot=1}] run function mt:treasure/biomes/flower/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.ice,scores={mt.plot=1}] run function mt:treasure/biomes/ice/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.jungle,scores={mt.plot=1}] run function mt:treasure/biomes/jungle/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.lush_cave,scores={mt.plot=1}] run function mt:treasure/biomes/lush_caves/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.mountain,scores={mt.plot=1}] run function mt:treasure/biomes/mountain/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.mushroom,scores={mt.plot=1}] run function mt:treasure/biomes/mushroom/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.default_nether,scores={mt.plot=1}] run function mt:treasure/biomes/default_nether/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.ocean,scores={mt.plot=1}] run function mt:treasure/biomes/ocean/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.savanna,scores={mt.plot=1}] run function mt:treasure/biomes/savanna/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.soul_valley,scores={mt.plot=1}] run function mt:treasure/biomes/soul_valley/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.swamp,scores={mt.plot=1}] run function mt:treasure/biomes/swamp/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.taiga,scores={mt.plot=1}] run function mt:treasure/biomes/taiga/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.warped_forest,scores={mt.plot=1}] run function mt:treasure/biomes/warped_forest/epic with entity @s equipment.feet.components."minecraft:custom_data"
execute at @s[tag=mt.wind,scores={mt.plot=1}] run function mt:treasure/biomes/wind/epic with entity @s equipment.feet.components."minecraft:custom_data"

scoreboard players remove @s mt.plot 1