Question how to trigger riptide animation on a player

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

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
151
6
24
18
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