Question how to trigger riptide animation on a player

Bello

New member
Jul 25, 2022
3
0
1
hello i want to know hot to trigger this animation on paper 1.18 i saw it on spigot but i can't replicate this in paper if someone can help me i'll be so grateful
 

Machine Maker

Paper Developer
Staff member
Dec 17, 2021
65
3
12
8
California
If you can do it on spigot, chances are high that you can do it on paper. What replication steps are you following to try and produce the same results on paper.
 

Bello

New member
Jul 25, 2022
3
0
1
Java:
Player p = /*your player*/;
EntityLiving entity = ((CraftPlayer) p).getHandle();
entity.r(20); // plays the spin animation for 20 ticks
i saw this on spigot but in paper EntityLiving is not a thing