The materials used to make this pickaxe determined what its requirements were
You can use nbt data such as chest contents as a requirement for breaking.