Lunge Optimizer

Client-side Fabric mod that optimizes Lunge spear swapping, primarily improving swap responsiveness and timing on high-ping servers.
Back to Files

lungeoptimizer-1.0.0.jar

File namelungeoptimizer-1.0.0.jar
Uploader
henrikahenrika
Uploaded
Nov 10, 2026
Downloads
115
Size
13.8 KB
Mod Loaders
Fabric
File ID
9539156
Type
R
Release
Supported game versions
  • 1.21.11

Curse Maven Snippet

Fabric

modImplementation "curse.maven:lunge-optimizer-1795949:9539156"

Learn more about Curse Maven

What's new

[1.0.0] — 2026-11-10

Added

  • /lungeoptimizer, /lungeoptimizer toggle, /lungeoptimizer <true|false> — client-side, no server plugin.
  • Exact chat feedback: Lunge Optimizer Enabled / Lunge Optimizer Disabled.
  • Persistent config at config/lungeoptimizer.json (survives reconnect/restart).
  • Hotbar lunge-spear scanning + caching every 20 ticks (all 7 spear tiers, optional minecraft:lunge enchant check).
  • Immediate slot switch on swap initiation (sets slot + sends UpdateSelectedSlotC2SPacket without waiting for the next keybind tick).
  • Smoothed ping tracking (factor 5), clamped to 200 ms by default.
  • Outgoing slot-change packet guard that suppresses redundant/early packets during an in-flight swap.
  • Client tick + slot-change mixins to keep swap state accurate.
  • 512×512 mod icon.

Safety guarantees

  • No reach/damage/velocity/attack-speed/movement changes, no cooldown or server-tick manipulation, no fake inventory state, no anti-cheat bypass.
  • Disabling returns behavior to 100% vanilla (all hooks early-return).

Notes

  • Timing/overhead polish, not automation; ~0–50 ms benefit per swap, most relevant on high ping.

[Unreleased]

  • Wire the cached spear data into an actual input path.
  • Optional config UI / keybind toggle.
  • Port to the unobfuscated 26.1+ line with Mojang mappings.

This mod has no related projects