getAllowFlight

public abstract boolean getAllowFlight()

Determines if the Player is allowed to fly via jump key double-tap like in creative mode.

Return

True if the player is allowed to fly.