-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed as not planned
Labels
Description
Expected behavior
I expect player.isJumping() to return true at least when the player started jumping.
I assume it should also be concidered jumping while it does not have hit the ground again.
Observed/Actual behavior
player.isJumping() is false when in the air after pressing space and listening to EntityShootBowEvent.
player.isJumping() is false when pressing space and listening PlayerJumpEvent.
Steps/models to reproduce
- Clone
https://github.com/Mvndi/JumpTest - Run
.\gradlew runServer - Join the local server.
- Jump
- Watch server console print something like this:
[12:58:47 INFO]: [JumpTest] EntityJumpEvent Jumping ?
[12:58:47 INFO]: [JumpTest] getEntity(): CraftPlayer{name=Hydrolien, uuid=18f22ccb-b2e3-46b6-8df9-b3843ef57c74}
[12:58:47 INFO]: [JumpTest] isJumping(): false
[12:58:47 INFO]: [JumpTest] getVelocity(): 0.0,-0.0784000015258789,0.0
[12:58:47 INFO]: [JumpTest] getVelocity().length(): 0.0784000015258789Plugin and Datapack List
No datapack.
Only JumpTest plugin for print pupose only.
Paper version
This server is running Paper version 1.21.11-69-main@94d0c97 (2025-12-30T20:33:30Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
Other
I tested the same test plugin in 1.21.10, 1.21.8, 1.21.4, 1.20.4 & 1.19.4 and always had isJumping(): false when jumping.
In 1.21.11, isJumping() is true for mobs when listening EntityJumpEvent.