Backpack the datapack you want to add into your version of the game and drag the sprite you want into that game. Then follow the instructions that you will find in each sprite for implementing the data packs. These should be fairly easy to understand however i you are struggling, let me know in the comments. All should work on all versions of Paper Minecraft (even modded versions).
Thanks to griffpatch for the original version of paper Minecraft