If you give yourself a stone pickaxe with a CanDestroy tag with stone it displays as:
Can Break:
tile.stone.name
My map is using this command
execute @p ~ ~ ~ give @p stone_pickaxe 1 0 {CanDestroy:["minecraft:stone"],display:{Name:"Basic Excavator",Lore:[Can only break stone!]}}
Linked issues
Comments 1

Duplicate of MC-44542