[1.15.2] Rotate player arms and edit/remove animation when holding an item

Hi, I was trying to make my player look like it was holding a Gun type Item, I saw a couple of topics, wrote a bit of code in the Player render Pre event, but it doesn't do anything, the only thing it changes is when i make the arm not visible, this my GunEvents code:   any help would be grateful :), thx  
I found this website with a bunch of PlayerRenderEvent examples and.... LMAO..... it only took 1 CODE LINE to make the player render as I wanted when it was holding the gun. WEBSITE: https://www.programcreek.com/java-api-examples/?api=net.minecraftforge.client.event.RenderPlayerEvent   Literally, just this line of code:   making the arm and the item copy the render when the player aims with an arrow, the result is just perfect   tomorrow i'll try to render the le