Minecraft:Commands/fly
From SAS Gaming Wiki
More actions
Template:Outdated featureTemplate:Exclusive Template:Infobox command
Enables flying for a player regardless of gamemode. If no player is specified, toggles the current player to fly.
Flying stops upon touching the ground in survival and adventure mode. Therefore, the player must execute this command mid-air to fly.
Upon succeed, the command prints [PlayerName]: Take to the Air!. The selected player flies similar to creative mode if flying is toggled to true.
Syntax
/fly [player: target] [shouldFly: boolean]
Arguments
[player: target]: CommandSelector<Player>
The player selected
[shouldFly: boolean]: bool
Whether to fly or not
Result
Template:Result table Template:Result table Template:Result table Template:Result table