khantdana hein

a mod (macro) that lets u make your speed higher like /speed set 10000 (make it inf numbers) also make this command /spear dmg to totempop true also make a command /speed normal for the normal gameplay but when u have speed pot and type /speed normal it doesn't affect the speed potion (also make it with the speed 2 potion) and make the mod so that we can use it even in other servers (1.21.11)

Kodari AI
KodariNov 13 at 4:07 pm 1
HyperSpeedControl
Adds client-side commands to override player movement speed with arbitrary values. /speed set <number> allows infinite speed values, /speed normal restores vanilla behavior while preserving speed potion effects, and /spear dmg toggles totem pop protection. Works on any server without server-side installation.

Movement speed and spear damage are controlled by the server, so a client-only mod can’t reliably change them on other servers or guarantee a totem pop.

I can build these commands for servers where you can install the mod. Should I proceed with that version? /speed normal would reset the custom speed without removing Speed I or II effects.

khantdana hein

ok now?

Kodari AI
KodariNov 13 at 4:19 pm 6

I’ll make this a server-installed mod with operator-only commands. Speed values will be percentages, and /speed normal will remove only the mod’s speed modifier.

Created the mod for Fabric 1.21.11. Install it on the server; it can’t override movement or damage on servers that don’t have it.

Operator commands:

  • /speed set 10000 — sets speed to 10,000% of normal. Minecraft caps the effective speed, so it can’t be infinite.

  • /speed normal — removes the custom modifier while preserving Speed I and II potion effects.

  • /spear dmg totempop true — greatly increases spear damage; use false to disable it. Invulnerability and other server rules can still prevent a totem pop.

khantdana hein

mate i told u it would be a self mod not a server mod

Kodari AI
KodariNov 13 at 4:30 pm 1

You’re right—I misunderstood. You asked for a client-only mod.

It can provide local commands, but it can’t make an unmodified server accept higher movement speed or spear damage. Server-side checks may correct your movement, and damage is decided by the server.

I can change it to a client-only mod for single-player or visual speed effects, but it won’t reliably work as requested on other servers.

khantdana hein

man DO U NOT KNOW WHAT IM SAYING IM SAYING THAT MOD IS FOR ME AND WHEN I INSTALLED THE MOD ALR I CAN PLAY IN SERVERS WITH IT EVEN WITHOUT THE MOD NEEDED TO BE INSTALLED

Kodari AI
KodariNov 13 at 4:34 pm 2

You mean the mod runs only on your client and can be taken onto servers without installing it there. I’ll switch it to that setup; the speed command will attempt local movement changes, though servers can reject them.

Changed it to a client-only mod: install it on your client, with no server installation required.

  • /speed set 10000 attempts to increase your movement speed; servers may block or correct it.

  • /speed normal resets the mod’s speed without removing potion effects.

  • /spear dmg totempop true reports that it can’t change damage: the server decides damage and totem pops.

khantdana hein

make it so that i can put it in fast client

Kodari AI
KodariNov 13 at 4:44 pm 1

Do you mean the Fast Client Minecraft launcher? If so, which Minecraft version and mod loader are you using in it—Fabric 1.21.11, or something else?

khantdana hein

yea im using fast client minecraft launcher version fabric 1.21.11

Kodari AI
KodariNov 13 at 4:45 pm 1

Fast Client with Fabric 1.21.11 can load this client-side mod.

  1. In Kodari, click Compile, then Compile in the window and download the finished build.

  2. In Fast Client, open the mods folder for your Fabric 1.21.11 profile and put the downloaded mod JAR there.

  3. Make sure Fabric API for 1.21.11 is also in that folder, then launch the profile.

The mod can be installed without being on the server, but servers may still reject the speed changes.

khantdana hein

mate it didn't work i still have fabric api on

Kodari AI
KodariNov 13 at 4:46 pm 1

What happens when you try it: does Fast Client fail to launch, does /speed set 10000 say the command is unknown, or does the command run but your speed stay the same?

If it fails to launch, send the error or crash log. If the command runs but speed doesn’t change, the server may be correcting your movement—the mod can’t override that.

khantdana hein

crash log here

📎 1 file 10,687 chars
📄
pasted-code-1794588425495.txt
txt 92 lines
▶
FastClient 4.0.17
Time: 2026-11-13T16:36:32.121Z
Action: Action could not be completed

System: windows (x86_64)

Error:
1 mod(s) could not be added

Launcher log
File: C:\Users\aungm\AppData\Roaming\FastClient\logs\fastclient.log
[2026-11-13 23:04:43][DEBUG][keyring] created entry WinCredential { username: "fastclient-refresh-session", target_name: "fastclient-refresh-session.net.fastclient.launcher", target_alias: "", comment: "keyring v3.6.3" }
[2026-11-13 23:04:43][DEBUG][keyring] get password [REDACTED] entry WinCredential { username: "fastclient-refresh-session", target_name: "fastclient-refresh-session.net.fastclient.launcher", target_alias: "", comment: "keyring v3.6.3" }
[2026-11-13 23:04:43][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:04:44][DEBUG][keyring] creating entry with service net.fastclient.launcher, user fastclient-refresh-session, and no target
[2026-11-13 23:04:44][DEBUG][keyring] created entry WinCredential { username: "fastclient-refresh-session", target_name: "fastclient-refresh-session.net.fastclient.launcher", target_alias: "", comment: "keyring v3.6.3" }
[2026-11-13 23:04:44][DEBUG][keyring] set password [REDACTED] entry WinCredential { username: "fastclient-refresh-session", target_name: "fastclient-refresh-session.net.fastclient.launcher", target_alias: "", comment: "keyring v3.6.3" }
[2026-11-13 23:04:44][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:04:49][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:04:54][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/changelog?page=1&limit=4
[2026-11-13 23:04:54][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/news/latest/featured
[2026-11-13 23:04:54][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/partners
[2026-11-13 23:04:54][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/partners/multiplayer
[2026-11-13 23:04:54][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:04:54][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:04:54][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:04:54][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:04:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.play.bananasmp.net -> java.bananasmp.net:25565
[2026-11-13 23:04:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.play.bluemc.org -> join.bluemc.org:25565
[2026-11-13 23:04:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.oreo.gg -> java.oreo.gg:25565
[2026-11-13 23:04:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.foreignmc.xyz -> foreignmc.xyz:19132
[2026-11-13 23:04:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.maceful.net -> maceful.net:25565
[2026-11-13 23:04:55][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/news/latest/featured
[2026-11-13 23:04:55][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/changelog?page=1&limit=4
[2026-11-13 23:04:55][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/partners/multiplayer
[2026-11-13 23:04:55][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/partners
[2026-11-13 23:05:03][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:03][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:04][INFO][webview::Object.info@http://tauri.localhost/assets/i18n-BFQzBo2c.js:2:4794] [Heartbeat] Sending for session: 1794532984334-015azm8rh2ei
[2026-11-13 23:05:04][DEBUG][fastclient_core::commands::analytics] Sending heartbeat for session: 1794532984334-015azm8rh2ei
[2026-11-13 23:05:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:04][DEBUG][fastclient_core::commands::analytics] Heartbeat sent successfully for session: 1794532984334-015azm8rh2ei
[2026-11-13 23:05:04][INFO][webview::Object.info@http://tauri.localhost/assets/i18n-BFQzBo2c.js:2:4794] [Heartbeat] Sent successfully
[2026-11-13 23:05:14][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:19][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:24][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.play.bananasmp.net -> java.bananasmp.net:25565
[2026-11-13 23:05:24][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.foreignmc.xyz -> foreignmc.xyz:19132
[2026-11-13 23:05:24][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.oreo.gg -> java.oreo.gg:25565
[2026-11-13 23:05:24][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.play.bluemc.org -> join.bluemc.org:25565
[2026-11-13 23:05:24][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.maceful.net -> maceful.net:25565
[2026-11-13 23:05:33][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:33][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:44][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:49][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:05:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.play.bananasmp.net -> java.bananasmp.net:25565
[2026-11-13 23:05:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.play.bluemc.org -> join.bluemc.org:25565
[2026-11-13 23:05:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.oreo.gg -> java.oreo.gg:25565
[2026-11-13 23:05:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.foreignmc.xyz -> foreignmc.xyz:19132
[2026-11-13 23:05:54][INFO][fastclient_core::commands::servers] SRV resolved _minecraft._tcp.maceful.net -> maceful.net:25565
[2026-11-13 23:06:00][DEBUG][tiny_http] Terminating accept thread
[2026-11-13 23:06:00][DEBUG][webview::Object.debug@http://tauri.localhost/assets/i18n-BFQzBo2c.js:2:4759] [Analytics] Queued: game_exit
[2026-11-13 23:06:01][DEBUG][webview::Object.debug@http://tauri.localhost/assets/i18n-BFQzBo2c.js:2:4759] Fetching: GET https://api.fastclient.net/api/textures/Bearry
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/news/latest/featured
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/partners
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/partners/multiplayer
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] Fetching API: https://api.fastclient.net/api/changelog?page=1&limit=4
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][INFO][webview::Object.info@http://tauri.localhost/assets/i18n-BFQzBo2c.js:2:4794] [Heartbeat] Sending for session: 1794532984334-015azm8rh2ei
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] Sending heartbeat for session: 1794532984334-015azm8rh2ei
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] POST API: https://api.fastclient.net/api/launcher-analytics/events
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/news/latest/featured
[2026-11-13 23:06:04][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/changelog?page=1&limit=4
[2026-11-13 23:06:05][DEBUG][fastclient_core::commands::analytics] Heartbeat sent successfully for session: 1794532984334-015azm8rh2ei
[2026-11-13 23:06:05][INFO][webview::Object.info@http://tauri.localhost/assets/i18n-BFQzBo2c.js:2:4794] [Heartbeat] Sent successfully
[2026-11-13 23:06:05][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/partners/multiplayer
[2026-11-13 23:06:05][DEBUG][fastclient_core::commands::analytics] API fetch successful for https://api.fastclient.net/api/partners
[2026-11-13 23:06:05][DEBUG][fastclient_core::commands::analytics] API POST successful for https://api.fastclient.net/api/launcher-analytics/events
[2026-11-13 23:06:05][DEBUG][webview::Object.debug@http://tauri.localhost/assets/i18n-BFQzBo2c.js:2:4759] [Analytics] Flushed 1 events
[2026-11-13 23:06:07][DEBUG][reqwest::connect] starting new connection 'Some("api.modrinth.com")'
[2026-11-13 23:06:16][INFO][fastclient_core::commands::mods] Removed mod speed-and-spear from profile 1.21.11-Fabric
[2026-11-13 23:06:19][DEBUG][reqwest::connect] starting new connection 'Some("api.fastclient.net")'
[2026-11-13 23:06:21][DEBUG][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2026-11-13 23:06:21][DEBUG][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
[2026-11-13 23:06:31][DEBUG][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared
[2026-11-13 23:06:31][DEBUG][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared
Kodari AI
KodariNov 13 at 4:47 pm 1

The log shows Fast Client couldn’t add the mod, but it doesn’t say why. It isn’t a Minecraft crash log, and it doesn’t point to a Fabric API problem.

Could you tell me:

  1. What is the exact name of the file you tried to add? Does it end in .jar or .zip?

  2. Did Fast Client show any more detail when “1 mod(s) could not be added” appeared?

If you downloaded a ZIP, extract it and add the mod’s JAR rather than the ZIP.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
5 140
src/client/java/com/kodari/speedandspear/SpeedAndSpearClient.java
package com.kodari.speedandspear;

import com.mojang.brigadier.arguments.BoolArgumentType;
import com.mojang.brigadier.arguments.DoubleArgumentType;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.minecraft.text.Text;

public class SpeedAndSpearClient implements ClientModInitializer {
    private static double speedPercent = 100.0;

    @Override
    public void onInitializeClient() {
        ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) -> {
            dispatcher.register(ClientCommandManager.literal("speed")
                .then(ClientCommandManager.literal("set")
                    .then(ClientCommandManager.argument("percent", DoubleArgumentType.doubleArg(0))
                        .executes(context -> {
                            speedPercent = DoubleArgumentType.getDouble(context, "percent");
                            context.getSource().sendFeedback(Text.literal("Client speed set to " + speedPercent + "%. Servers may correct your movement."));
                            return 1;
                        })))
                .then(ClientCommandManager.literal("normal")
                    .executes(context -> {
                        speedPercent = 100.0;
                        context.getSource().sendFeedback(Text.literal("Client speed reset. Potion effects are unchanged."));
                        return 1;
                    })));
            dispatcher.register(ClientCommandManager.literal("spear")
                .then(ClientCommandManager.literal("dmg")
                    .then(ClientCommandManager.literal("totempop")
                        .then(ClientCommandManager.argument("enabled", BoolArgumentType.bool())
                            .executes(context -> {
                                context.getSource().sendError(Text.literal("Spear damage is controlled by the server and cannot be changed by a client-only mod."));
                                return 0;
                            })))));
        });

        ClientTickEvents.END_CLIENT_TICK.register(client -> {
            var player = client.player;
            if (player == null || speedPercent == 100.0) return;
            var input = player.input.playerInput;
            if (!input.forward() && !input.backward() && !input.left() && !input.right()) return;
            var velocity = player.getVelocity();
            double multiplier = speedPercent / 100.0;
            double x = velocity.x * multiplier;
            double z = velocity.z * multiplier;
            double magnitude = Math.hypot(x, z);
            if (magnitude > 10.0) {
                x *= 10.0 / magnitude;
                z *= 10.0 / magnitude;
            }
            player.setVelocity(x, velocity.y, z);
        });
    }
}