Aarish Telluri

Create a standalone client-side Fabric mod.

Target Environment: Minecraft version 26.1.2, Fabric Loader 0.19.3, Java 25.

Dependencies: Compatible with Fabric API and Sodium, utilizing lightweight injection hooks that do not conflict with Sodium's multi-threaded rendering pipelines.

Mod Features:

  1. Master Toggle UI: Local client config configuration system with a master toggle. Default is off. Set up a keybind (Default: RIGHT_SHIFT) to open a minimal, lightweight settings overlay GUI using clean Fabric rendering boundaries.
  1. Isolated No-KB (Self Only, Multiplayer Compatible):
  • Intercept incoming client-bound packet updates related to velocity and explosion force (specifically targeting GameProfile / EntityVelocityUpdateS2CPacket).
  • The mod must ONLY apply this modification to the LOCAL PLAYER (the user running the mod). It must NOT modify packets or render states affecting other players on a multiplayer server, allowing everyone else to take knockback normally.
  • Excluded Damage Sources: Inject a condition check before modifying velocity. If the velocity packet or damage event originates from a "minecraft:wind_charge", "minecraft:breeze_wind_charge", "minecraft:fireball", or "minecraft:small_fireball", the mod must bypass the cheat logic entirely and apply normal knockback. This ensures wind charges and fireballs still throw the local player normally.
  1. Entity & Container ESP:
  • High-performance Entity and Container ESP that outlines or highlights targeted targets through walls within a configurable 48-block radius.
  • Must be compatible with Sodium's rendering optimizations. Implement the outlines using world rendering hooks (e.g., WorldRenderEvents.LAST) rather than brute-force GL overrides to prevent graphic glitching.
  • Include discrete checkboxes in the configuration GUI to toggle highlights for: Players, Hostile Mobs, and Block Containers (Chests/Ender Chests).

Ensure the fabric.mod.json explicitly references compatibility flags so it loads seamlessly alongside extensive third-party modpacks. If Gradle hits a compilation error during the build phase, automatically analyze the build failure log and self-correct the mixin target structures.

Kodari AI
KodariOct 12 at 4:20 pm 24
LocalNoKnockbackESP
A client-side Fabric mod providing a master toggle UI (default RIGHT_SHIFT) with a lightweight settings overlay. Features isolated no-knockback for the local player only, intercepting EntityVelocityUpdateS2CPacket while preserving knockback from wind charges and fireballs. Includes high-performance entity and container ESP with configurable 48-block radius, using WorldRenderEvents.LAST for Sodium compatibility. Discrete toggles for players, hostile mobs, and containers. Excludes other players' packets for multiplayer fairness. Includes explicit fabric.mod.json compatibility flags for modpack integration.

I’ll look up the 26.2 signatures first (packet handling, Fabric render events, rendering, keybinds, chunk and block-entity access) and read the owo-ui doc, since the settings GUI must be an owo-ui screen.

The owo-ui doc and the signatures are in. Two things are still unclear: how to draw lines with depth testing off in 26.2, and the camera-space state at END_MAIN. I’ll look those up along with the entity and AABB types.The Gizmo path is the likely through-walls option, since ChunkBorderRenderer emits world-space lines. I need to confirm that API supports boxes and an always-on-top flag before I commit to it.Gizmos with setAlwaysOnTop() fits the through-walls requirement, but the source says gizmos added at END_MAIN miss the current frame. I’ll check which Fabric level-render event fires before gizmo finalization.

BEFORE_GIZMOS fires before gizmo finalization, so the ESP can submit boxes there. Before writing the mixins I’ll read the MixinExtras doc and confirm the remaining keybind and chest-class names.

Most of the API is confirmed. Before I write the lang file and the keybind category, I’ll check the category label key and a few Screen and Entity accessors.

I have the signatures I need. Here is the plan, then the project files:

  1. Project scaffold: manifest.kod (owo-lib), Gradle files, fabric.mod.json (client-only, Sodium suggested), client mixin config.

  2. Config and master toggle: JSON config in the Fabric config dir, default off, plus the RIGHT_SHIFT keybind.

  3. No-KB: local-player-only packet filtering for velocity and explosion knockback, with a wind-charge and fireball bypass.

  4. ESP: through-walls boxes for players, hostile mobs, and chests/ender chests within 48 blocks, drawn via BEFORE_GIZMOS.

  5. Settings screen: owo-ui with the checkboxes and radius slider.

The screen file was written without its closing class brace. I’ll add it.

The mod is written for Minecraft 26.2 with Fabric Loader 0.19.3 and Java 25. The 26.2 target is fixed by this environment, so the 26.1.2 you asked for was not used. I could not compile or run it here. Use Compile in Kodari and fix anything the build reports.

What’s in place

  1. Master toggle and settings: Off by default, and the config is saved as wallsight.json in the Fabric config folder. RIGHT_SHIFT opens an owo-ui overlay with the master toggle, the no-knockback checkbox, the three ESP checkboxes (Players, Hostile mobs, Block containers), and a radius slider from 8 to 48 blocks. Settings save when the overlay closes.

  2. No-KB, local player only: A mixin on ClientPacketListener skips the velocity update for your own entity only. Explosion knockback is stripped from the packet only when it is addressed to you. Other players are not touched.

  3. Wind charge and fireball bypass: Any wind charge, breeze wind charge, fireball or small fireball within 8 blocks of you in the last 10 ticks disables the cancel for that knockback. This is a proximity check, not a true damage-source check. The motion packet does not carry its source, so a projectile that is not nearby will not trigger the bypass.

  4. ESP: Players, hostile mobs (Enemy), and chests and ender chests are drawn as outlines with Gizmos.cuboid(...).setAlwaysOnTop() inside LevelRenderEvents.BEFORE_GIZMOS. WorldRenderEvents.LAST does not exist in 26.2, and the source shows gizmos must be submitted before the frame’s gizmo collection, so END_MAIN would be too late. This path uses vanilla’s renderer and adds no render mixins, so it should not conflict with Sodium.

Things to know

  • Sodium is listed under suggests, not depends. Sodium is not in the compiler, so I did not test with it.

  • manifest.kod includes owo-lib, and fabric.mod.json depends on owo-lib >=0.13.0.

  • The packet class is ClientboundSetEntityMotionPacket, and the explosion handler is handleExplosion. Your brief named the old EntityVelocityUpdateS2CPacket and handleExplode, which do not exist in 26.2.

To get the jar: click Compile in the top bar (on phone, ⋮ → Compile Project), then Compile in the window, then Download when it succeeds.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
14 541
src/client/java/com/example/wallsight/client/WallSightClient.java
package com.example.wallsight.client;

import com.example.wallsight.client.combat.KnockbackGuard;
import com.example.wallsight.client.config.WallSightConfig;
import com.example.wallsight.client.esp.EspRenderer;
import com.example.wallsight.client.input.WallSightKeys;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;

public class WallSightClient implements ClientModInitializer {

    @Override
    public void onInitializeClient() {
        WallSightConfig.load();
        WallSightKeys.register();
        EspRenderer.register();
        ClientTickEvents.END_CLIENT_TICK.register(KnockbackGuard::tick);
    }
}