Fly True [Creative Flight Replica]

Fly True [Creative Flight Replica]

Adds a Fly command. An attempt to replicate Minecraft's Creative Mode flight mechanics in Survival. No Cheats. No Education Edition.

ModScriptUpdated 2 months ago
Willy.Willy.19 items

Description

An attempt to replicate Minecraft's vanilla Creative Mode flight as closely as possible.

This implementation may still require further improvements. it provides a flying experience with features such as double-jump flight activation, smooth hovering, momentum-based movement, and independent horizontal and vertical controls.

No Cheats

No Education Edition.

YouTube video

Commands

/fly true - enables your flight ability.

/fly false - disable your flight ability.

/flyaccess \<Enable\> - admin-only command to enable or disable public /fly access.

/flyplayer \<Target\> \<Enable\> - admin-only command to toggle fly for other players.

See the changelog for more details...

Please note that this add-on may or may not work alongside other packs or add-ons. If you encounter any issues, consider placing this add-on at the top of your pack list.

**If you really want to, try merger. It's a small tool to merge add-ons that conflict with each other. Sometimes, it works. **

This flight system is script-based and may experience stuttering or delayed movement when playing on multiplayer with low-performance servers.

Changelog

1.3.1

Fixes

  • Reduced the stutter when landing after leaving flight mode with a double jump. The main cause was clearVelocity() being called every tick while the player hovered in place, which put the server and client positions out of sync. That call has been removed.

  • Landing detection during flight now has to hold for 3 consecutive ticks. Previously, a flickering server-side isOnGround value could end flight mode unexpectedly.

  • The stop\_flying event is no longer sent twice; all flight-stopping logic now goes through a single function (stopFlying).

  • When leaving flight mode with a double jump, leftover horizontal velocity is dampened so the player doesn't keep sliding.

Internal changes

  • player.json: the flying and stop\_fly component groups now only change has\_gravity and no longer touch push\_towards\_closest\_space.

  • state.js: added groundTicks to count consecutive on-ground ticks.

  • movement.js: cleaned up, and the DEADZONE constant is no longer used here.

Notes

  • The stutter is much less noticeable, but a small amount may still be felt on the client side.

  • Without clearVelocity(), the player may drift very slightly while hovering in place.

Download Files

Fly True 1.3.124 KB.mcaddon
Older versions (3)
Fly True 1.3.024 KB.mcaddon
Fly True 1.2.220 KB.mcaddon
Fly True 1.2.121 KB.mcaddon
Source: MCPEDL · by Willy. · CurseForge