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!
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Entity.html#getVelocity() https://hub.spigotmc.org/javadocs/b...tity.html#setVelocity(org.bukkit.util.Vector)