Get velocity and reapply it

Discussion in 'Plugin Development' started by jeffthejeffthejeff, Dec 12, 2020.

Thread Status:
Not open for further replies.
  1. This is my first time creating a plugin and I can't find much on it so I thought I'd ask on the forums. Basically what I want to do is create a plugin so that if a player right clicks an item then the current velocity is stored. After that, the player is teleported to the same location, but in The End and that velocity is reapplied but also kept... so the velocity is applied and keeps being applied like there is no gravity.

    I would appreciate any help!

    Using Eclipse and I have a project already btw.
     
  2. Offline

    CraftCreeper6

    @jeffthejeffthejeff
    Get their velocity, run a repeating task that constantly sets their velocity to that value.
     
  3. As I said, this is my first time creating a plugin so I have no idea how.
     
  4. Offline

    CraftCreeper6

Thread Status:
Not open for further replies.

Share This Page