Question Need help with isJumping method 1.18

JRabble

New member
Mar 16, 2022
5
0
1
So recently I have started making my own plugin, in which i really need to use player#isJumping method, but I realized that it doesn’t work. Is this a thing or am I doing something wrong?



if (p.isJumping()){

// my code

}
 

JRabble

New member
Mar 16, 2022
5
0
1
okay, but then how do I detect when player jumps, i know you could get Y, but then it will think that player jumps even if he falls
 

electronicboy

Administrator
Staff member
Dec 11, 2021
80
6
17
8
paper has an event for checking that which is based upon the logic for where the player increases the jumping stat
 
  • Like
Reactions: JRabble