I need someone to help

I'm on 1.21 Java and I'm trying to make a 1 of those simulator maps like dirt to stone armor and whatevs and I'm trying to get a chain (in item form obviously) mine glass like a custom specified block, in other words, Stone is mined by a pickaxe and I want glass to be mined by chains (in item form obviously) and I dont know how