Minecraft wiki entry for Flying, associated text: Flying is not limited by any processes such as food depletion, which limits sprinting. Flying can be toggled by double-tapping the "jump" key while playing in creative mode (or when the "Mayfly" permission has been given to the player ‌[Bedrock and Education editions only]) and can be activated at any altitude. The player can gain or lose altitude while flying by pressing the jump or sneak keys, respectively. Holding sprint allows the player to move faster while flying. In Creative mode, flying is automatically disabled if the player lowers onto a surface while in the air. ‌[Java Edition only] In Spectator mode, flying cannot be disabled because players can fly through all blocks. Flying increases the player's field of view by 10%; it is increased further when holding sprint. (This may have to be attempted several times before it works.)