Flying Player

Started by Ro... on

Topic category: Help with Minecraft modding (Java Edition)

Active 15 hours ago
Joined Mar 2020
Points:
1164

User statistics:

  • Modifications: 6
  • Forum topics: 71
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 270
Flying Player

Hey, i would like to make a custom way for the player to fly, this is needed for my dragon ball mod, what i would like to do, is using a keybind with space bar and another key(F)
When the player press F, flying Mode variable is activated.(ez to do that) then, while flying mode is activated, when the player press space, the player with start flying like creative mode, ill do this by using movement vector thing... if the player in flying mode stop moving while flying, (sorry if that was not clear)so what im looking for now, is how to make the player like... stay in the air while in flying mode. because without that, when the player press space, he will just go up until he release the key and then he will fall.

Active 3 months ago
Joined Nov 2020
Points:
982

User statistics:

  • Modifications: 1
  • Forum topics: 57
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 243
type "fly" into the…
Mon, 05/10/2021 - 19:22

type "fly" into the procedure blocks search bar.

Active 15 hours ago
Joined Mar 2020
Points:
1164

User statistics:

  • Modifications: 6
  • Forum topics: 71
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 270
Ik about flying procedure,…
Tue, 05/18/2021 - 20:23

Ik about flying procedure, but this Creative Fly... it not what I want but thx anyway cuz that gives me an idea that might work

Active 10 months ago
Joined Mar 2024
Points:
63

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
I know this topic is old,…
Wed, 03/13/2024 - 04:07

I know this topic is old, but can you pls tell me if you figured it out? I really want my characters to be able to fly.

Active 13 hours ago
Joined Nov 2023
Points:
96

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
You can make a potion effect…
Sat, 03/29/2025 - 19:28

You can make a potion effect that does nothing, and then use this procedure to make it temporary.

If: event-target-entity has potion: Flying -
Allow event-target-entity to fly if true, otherwise dont.

Else: If Not Is event-target-entity in game-mode Creative,
Make Event-target-entity fly if false, otherwise dont.