execute at @s run function mol:close_chest/chest with entity @s[tag=mol.open] item.tag.mol