4

In Minecraft 1.13.2 PC JAVA creative mode

What is (is there a) console command to fly in creative mode?

The basic 'in game' option is to double-tap spacebar. I am looking for a console /command line in order to use it within function files.

This question is a split from Ho do i execute multiple function within another function? for disambiguation where i thought the problem was a 'flying' issue. User @Fabian Röling already answered but as OP got more precised, his answer seamed inapropriate.

Asside : i've seen documentation about Effect but can't figure out how to apply on player @s. Here minecraft.gamepedia.com/Status_effect#Levitation

  • Are there any restrictions? Do you want the player to fly upward, walk around and stuff or do you want him to fly more like Super-Man? – SpiceWeasel Dec 10 '18 at 21:15
  • levitate would be good. Flying but not moving? – Milche Patern Dec 10 '18 at 21:22
  • So you just want to go straight up and down? – SpiceWeasel Dec 10 '18 at 21:24
  • @SpiceWeasel if i do /tp ~ ~3 ~ .. i want player to remain and not fall back. Asside, is player jumps or crouches, go ... yeah. – Milche Patern Feb 8 '19 at 2:13
  • You could give yourself levitation to the 255th interger with /effect give @p levitation <amount of seconds> 255. That prevents players from falling. Would that be what you're looking for? – SpiceWeasel Feb 8 '19 at 3:00
3

There is no command to make a player fly, but since you can not not fly in Spectator mode, you can just do this:

/gamemode spectator <player>
/gamemode creative <player>

If you want the opposite, you can shortly put someone into Survival or Adventure mode and instantly back into Creative mode:

/gamemode survival <player>
/gamemode creative <player>
| improve this answer | |
  • miss "console command to fly in creative mode" – Milche Patern Feb 8 '19 at 2:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.