Listeners for a double jump

Hi everyone,

I wanted to create a simple double jump plugin (not use - create) with maybe some particle effects.
I am aware of the method of enabling and disabling flight for a player, but I wondered if there isn’t a better way to do this.

In the vanilla game, a double jump activates elytra flight. Isn’t there a listener for that?

I think that packet is only sent if the player actually has an elytra equipped and is falling (negative y velocity)…
I might be wrong though…
Also: Checking if a player (or entity?) is currently elytra-flying (DataManipulator) · Issue #1618 · SpongePowered/SpongeAPI · GitHub