How do I differ between normal block and block that can be played on certain blocks

datapack 1.21.4 I I need a way that if the player picks up a normal piece of terracotta in adventure mode it turns that into a block that can only be placed a quartz
Continue to help post