CheatNeeds devcommands
fly command
Syntax
What it does
Toggles fly mode, the same flight debugmode gives you on the Z key. While flying, jump rises and crouch descends, and fall damage stops mattering. Needs devcommands enabled; run fly again to land.
Cheat commands need the console enabled with the -console launch option, then devcommands typed once. They work in singleplayer or when you host, not on dedicated servers.
Examples
Flight on; run it again to turn it off
Related commands