How do you use custom model data now? (1.21.4)

So I’m recoding a medium sized Datapack for 1.21.4 and I can’t get the models to work unfortunately, I’ve read the patch notes and it’s not making sense… can someone explain them it too me (bc I’m probably dumb :P)
Continue to help post