Updating from 1.19 to 1.21.4

I have a resource pack with custom mdoel data items and textures and i dont know what i have to change for it to work in 1.21.4, i dont understand the syntax for give item commands also

Continue to help post