Don’t forget to read the readme for the favoriteAnims.xml line. It’s necessary to add.
Install using Jennie’s Custom Anims mod. Get it here: How to add Custom Animations easily
Make sure you follow their guidelines on how to install that mod properly and how to install animations using it.