Minecraft:Commands/fly: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Sync: updated from Minecraft |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Removed feature|edition=bedrock}} | ||
{{Infobox command | {{Infobox command | ||
|name=fly | |name=fly | ||
|oplevel = 1 | |oplevel = 1 | ||
|others = Cheat only | |others = [[Minecraft:Cheat]] only | ||
}} | }} | ||
Enables flying for a player regardless of gamemode. If no player is specified, toggles the current player to fly. | Enables [[Minecraft:flying]] for a player regardless of [[Minecraft: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. | Flying stops upon touching the ground in [[Minecraft:survival]] and [[Minecraft:adventure]] mode. Therefore, the player must execute this command mid-air to fly. | ||
Upon succeed, the command prints <code>[PlayerName]: Take to the Air!</code>. The selected player flies similar to creative mode if flying is toggled to true. | Upon succeed, the command prints <code>[PlayerName]: Take to the Air!</code>. The selected player flies similar to [[Minecraft:creative mode]] if [[Minecraft:flying]] is toggled to true. | ||
== Syntax == | == Syntax == | ||
| Line 22: | Line 22: | ||
<code>[shouldFly: boolean]</code>: [[Minecraft:Argument types#brigadier:bool|bool]] | <code>[shouldFly: boolean]</code>: [[Minecraft:Argument types#brigadier:bool|bool]] | ||
Whether to fly or not | Whether to fly or not. | ||
== Result == | == Result == | ||
Latest revision as of 11:11, 18 September 2026
Template:Removed feature Template:Infobox command
Enables Minecraft:flying for a player regardless of Minecraft:gamemode. If no player is specified, toggles the current player to fly.
Flying stops upon touching the ground in Minecraft:survival and Minecraft: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 Minecraft:creative mode if Minecraft: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