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 How 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.wiki/w/Status_effect#Levitation

5
  • 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? Commented Dec 10, 2018 at 21:15
  • levitate would be good. Flying but not moving? Commented Dec 10, 2018 at 21:22
  • So you just want to go straight up and down? Commented Dec 10, 2018 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. Commented Feb 8, 2019 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? Commented Feb 8, 2019 at 3:00

1 Answer 1

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>
1
  • miss "console command to fly in creative mode" Commented Feb 8, 2019 at 2:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .