Minecraft:Commands/fly: Difference between revisions
From SAS Gaming Wiki
More actions
imported>MinecraftBedrockPlayer7 mNo edit summary |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Outdated feature}}{{ | {{Outdated feature}}{{MC/Exclusive|bedrock}} | ||
{{Infobox command | {{Infobox command | ||
|name=fly | |name=fly | ||
|oplevel = 1 | |oplevel = 1 | ||
|others = | |others = Cheat only | ||
}} | }} | ||
Enables | 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 | 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 <code>[PlayerName]: Take to the Air!</code>. The selected player flies similar to | 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. | ||
== Syntax == | == Syntax == | ||
| Line 33: | Line 33: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{ | |{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{MC/Cmd|link=none|fly}}.}} | ||
|{{HistoryLine||1.2.14|Removed all developer commands.}} | |{{MC/HistoryLine||1.2.14|Removed all developer commands.}} | ||
}} | }} | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
Latest revision as of 20:10, 9 April 2026
Template:Outdated featureScript error: No such module "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