Custom blocks

i am on 1.21.10 and im wondering how i can add custom blocks, I know you need a block display but how do you detect when a block placed should have the display summoned?

Continue to help post