kingon0366

Hi, can you please create me a mod that will grant me the ability to fly in survival with no cheats, for both singleplayer and multiplayer, and the ability to change the activation key in the keybinds menu, Do so the mod wouldn't have to be downloaded on the server side please, make it so i can change the flight speed, and do so i don't take fall damage when lending dont forget that fall damage is on the server side,

Kodari AI
KodariMay 23 at 12:32 pm 30,086 (v2)

I’ll create a client-side flight mod with configurable speed and keybinds.

CreativeFlight
A client-side Fabric mod that enables creative-style flight in survival mode without requiring cheats or server-side installation. Features include a customizable keybind to toggle flight on/off, adjustable flight speed through an in-game config menu, and automatic fall damage prevention when landing from flight. Works seamlessly in both singleplayer and multiplayer environments.

Let me read the necessary documentation for keybinds, config screens, and mixins:

I’ll create a client-side flight mod with YACL configuration for flight speed and automatic fall damage prevention.


CreativeFlight mod created!

Features:

  • Press F to toggle flight on/off (rebindable in Controls)

  • Flight speed configurable via in-game menu (0.1x to 5.0x, default 1.0x)

  • Automatic fall damage prevention when landing from flight

  • Client-side only - works on any server without requiring server-side installation

  • ModMenu integration - configure via the Mods menu

The mod enables creative-style flight abilities in survival mode. Flight is only allowed when not in creative/spectator. Fall distance is automatically reset when landing from flight, and the fall damage mixin provides a backup safeguard.

kingon0366

I still take fall damage, in the keybinds the name is not ok, and the toggle on and off is broken and its always on, do it so it will work on all of the versions wich support the mechanics, like 1.21.9, 1.21.8....

kingon0366

I still take fall damage, in the keybinds the name is not ok, and the toggle on and off is broken and its always on, do it so it will work on all of the versions wich support the mechanics, like 1.21.9, 1.21.8....

kingon0366

I still take fall damage, in the keybinds the name is not ok, and the toggle on and off is broken and its always on, do it so it will work on all of the versions wich support the mechanics, like 1.21.9, 1.21.8....

kingon0366

I still take fall damage you need to god damnit move the fall damage prevention to the main folder so it will god damnit work fall damage is calculated on the main side its the god damnit 5 time wich im telling you it and your not listening, do it thank you, in the keybinds the name is not ok, and the toggle on and off is broken and its always on, do it so it will work on all of the versions wich support the mechanics, like 1.21.9, 1.21.8....

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
13 358
src/main/java/com/example/creativeflight/CreativeFlight.java
package com.example.creativeflight;

import net.fabricmc.api.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CreativeFlight implements ModInitializer {
    public static final String MOD_ID = "creativeflight";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);

    @Override
    public void onInitialize() {
        LOGGER.info("Creative Flight mod initialized");
    }
}