Jerricks

make a mod that reduces ping delay as much as physically possible, i usually run on 80 ping cs i live in guyana for 1.21.11 also find a way to completely remove server delay i want servers to run like my single player world

Kodari AI
KodariNov 8 at 7:27 pm 1
PingEradicator
Drastically reduces client-server latency for Fabric 1.21.11 by intercepting and optimizing network packet handling, prioritizing player input packets, and implementing predictive client-side movement simulation. Features aggressive TCP/IP tuning, packet batching, and a custom netty pipeline that bypasses unnecessary processing delays. Includes a server-side tick scheduler that aligns client renders with server ticks, eliminating perceived input lag. Also provides a configurable "single-player mode" that caches chunk data and entity states locally, allowing the game to run with near-zero network round-trips for movement and interaction, making multiplayer servers feel as responsive as a local world.
  • Add a client-only Fabric 1.21.11 mod that reasserts TCP_NODELAY when the game connection becomes active.

  • Keep its scope honest: vanilla already enables this option, and a client mod cannot remove route latency or server tick time.

  • Add the minimal Loom project and client mixin configuration.

Created Latency Guard, a client-only Fabric 1.21.11 mod that reasserts TCP_NODELAY when a connection activates.

This is a best-effort safeguard, not a way to remove your 80 ms ping: vanilla Minecraft already enables TCP_NODELAY, and a client mod cannot shorten the network route to the server or change its tick speed. For the biggest real-world improvement, use the nearest server available, a wired connection, and avoid a VPN unless it gives you a better route.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
6 117
src/client/java/com/kodari/pingoptimizer/mixin/ClientConnectionMixin.java
package com.kodari.pingoptimizer.mixin;

import io.netty.channel.ChannelException;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelOption;
import net.minecraft.network.ClientConnection;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(ClientConnection.class)
public abstract class ClientConnectionMixin {
    @Inject(method = "channelActive", at = @At("HEAD"))
    private void pingoptimizer$enableTcpNoDelay(ChannelHandlerContext context, CallbackInfo ci) {
        try {
            context.channel().config().setOption(ChannelOption.TCP_NODELAY, true);
        } catch (ChannelException ignored) {
        }
    }
}