
execute if entity @s[tag=chest_t3] run function fjam:map/game/chest/t3/set
execute if entity @s[tag=chest_t2] run function fjam:map/game/chest/t3/set
execute if entity @s[tag=chest_t1] run function fjam:map/game/chest/t2/set

playsound minecraft:block.bell.use block @a ~ ~ ~ 1 2
particle minecraft:end_rod ~ ~ ~ 0 2 0 0 10 force @a

tag @s remove upgrading
tag @s remove chest_open
