_5h444_

Auto Jump Reset instantly after taking damage from hits or any mobs/players in 0ms. No matter if the player was in air or on the ground, it must activates all the time.

1.21.11 Fabric. Command toggle like /lmao for on, /lmfao for off.

Kodari AI
KodariSep 28 at 9:58 am 1
InstantJumpReset
Fabric mod for Minecraft 1.21.11 that instantly resets the player's jump cooldown to zero milliseconds upon taking damage from any mob or player, regardless of whether the player is airborne or grounded. The reset activates unconditionally after every hit. Includes two toggle commands: /lmao enables the mod, /lmfao disables it. Lightweight, client-side implementation using Fabric API's damage event hooks for immediate response.
  1. Build a minimal Fabric 1.21.11 client mod with /lmao to enable and /lmfao to disable.

  2. Reset the player’s jump cooldown immediately on damage, including while airborne.

  3. Add the Fabric metadata and mixin configuration required to load it.

Created the client-side Fabric 1.21.11 mod. /lmao enables jump-cooldown resets and /lmfao disables them. When the local player takes damage, the reset fires whether they’re airborne or on the ground.

This clears the cooldown; it does not add mid-air jumping beyond vanilla’s normal rules.

_5h444_

I forgot to mention, this must work in any server too.

Kodari AI
KodariSep 28 at 9:59 am 1

A client-only mod can run on any server without requiring server installation, but it can only reset the client’s jump cooldown. The server remains authoritative, so it may reject mid-air jumps or other actions that don’t follow its rules; anti-cheat plugins may also flag attempts to bypass them.

So /lmao can enable the local reset on any server, but guaranteed server-approved jump resets on every hit—including mid-air—aren’t possible on arbitrary servers without server-side support.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 167
src/client/java/com/kodari/jumpreset/JumpResetClient.java
package com.kodari.jumpreset;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;

public class JumpResetClient implements ClientModInitializer {
    public static boolean enabled;

    @Override
    public void onInitializeClient() {
        ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) -> {
            dispatcher.register(ClientCommandManager.literal("lmao").executes(context -> {
                enabled = true;
                return 1;
            }));

            dispatcher.register(ClientCommandManager.literal("lmfao").executes(context -> {
                enabled = false;
                return 1;
            }));
        });
    }
}