Keep velocity

Discussion in 'Plugin Development' started by DarkDaemo, Jul 27, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    DarkDaemo

    Hello. 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!
     
  2. Offline

    davidclue

  3. Offline

    KarimAKL

    Have you tried Entity#setGravity(boolean)?
     
Thread Status:
Not open for further replies.

Share This Page