Back to mods
Auto Lunge swap project artwork

CurseForge · Minecraft mod

Auto Lunge swap

One key, tick-perfect spear lunge swaps. Parks you on an empty hand and chains Lunge every 5 ticks for as long as you hold the key, then hands your weapon back. Client-side, Fabric, Minecraft 1.21.11.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Auto Lunge swap release should I use?

Updated 3 days ago
Latest stable file autolungeswap-fabric-26.1-26.3-1.2.0.jar
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

Auto Lunge swap autolungeswap-fabric-26.1-26.3-1.2.0.jar targets 26.1, 26.1.1, 26.1.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Auto Lunge swap required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Auto Lunge swap autolungeswap-fabric-26.1-26.3-1.2.0.jar need?

autolungeswap-fabric-26.1-26.3-1.2.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Auto Lunge swap without breaking your instance.

Built for Auto Lunge swap autolungeswap-fabric-26.1-26.3-1.2.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use autolungeswap-fabric-26.1-26.3-1.2.0.jar. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside autolungeswap-fabric-26.1-26.3-1.2.0.jar. It opens that exact file at the source.

About this project

What does Auto Lunge swap add?

Auto Lunge Swap

One key. Tick-perfect lunge swaps. No hotbar gymnastics.

Auto Lunge Swap is a client-side Fabric mod for Minecraft 1.21.11 that performs the spear lunge swap for you: it selects your Lunge spear, jabs, and selects your previous item again — all inside a single game tick. Hold the key and it repeats every time the attack bar is ready, which with a bare fist means a lunge every 5 ticks (4 per second) instead of the spear's native 13–23 ticks.

Features

  • Press once, lunge once — a tap is remembered for a few ticks, so slightly early presses still fire.
  • Hold to chain — lunges keep coming as fast as the carrier item allows.
  • Automatic carrier — you can hold anything when you press the key. The mod parks you on an empty hotbar slot (fastest possible recharge), lunges from there, and puts your original item back in your hand when you release the key.
  • Automatic spear detection — uses the hotbar spear with the highest Lunge level; optionally pin a fixed slot.
  • Safety checks — respects vanilla's hunger requirement (Lunge needs food level > 6), never interrupts eating/drinking/charging in the main hand, and never fires with a screen open.
  • Toggle key with an action-bar message, so you can switch it off mid-session.
  • Zero HUD clutter — nothing is drawn on screen. Optional debug log line per lunge.
  • Fully vanilla input path — the jab goes through the same client routine as a real left click.

Controls (Options → Controls → Auto Lunge Swap)

Action Default
Lunge swap (hold to repeat) V
Toggle Auto Lunge Swap O

Why the carrier item matters

A spear jab is only accepted when the attack bar is 100 % charged, and the bar recharges with the attack_speed attribute. The server refreshes attributes from your equipment just once per tick, so a jab performed in the same tick as the item switch is judged with the attack speed of the item you were holding before — while the held stack (and its Lunge enchantment) is already the spear. Whatever you hold between lunges therefore sets the pace:

Carrier Lunge every
bare fist (empty slot) — mod default 5 ticks
sword 12–13 ticks
spear itself (no swap) 13–23 ticks
mace 33 ticks

Configuration — config/autolungeswap.json

Key Default Meaning
enabled true master switch (toggle key)
holdToRepeat true holding the key repeats the lunge
minRepeatIntervalTicks 0 extra spacing between lunges while holding
waitForAttackCooldown true only fire when the bar is charged (turning this off just wastes packets)
inputBufferTicks 3 how long an early tap is remembered
minHunger 7 skip below this food level (vanilla Lunge needs > 6)
carrierMode FASTEST FASTEST = park on an empty slot, CURRENT = stay on what you hold
carrierSlot -1 -1 = auto, 0–8 = always park on this slot
returnToOriginalItem true hand your original item back after the key is released
switchTimeoutTicks 15 how long a single tap keeps trying after the mod had to move you to the carrier
swapBackDelayTicks 0 0 = swap back in the same tick, N = wait N ticks
ignoreMissDelay false bypass the client's 10-tick "punched air" delay
fixedSpearSlot -1 -1 = auto-detect, 0–8 = force a hotbar slot
requireLunge true ignore spears without the Lunge enchantment
actionBarMessages true show ON/OFF above the hotbar
debugLog false one log line per lunge with the interval in ticks

Requirements

  • Minecraft 1.21.11 (the spear and Lunge were added in this version; 26.x builds are not supported)
  • Fabric Loader 0.16+ and Fabric API
  • Java 21

Please read before using

Attribute swapping is a vanilla bug (MC-28289). Mojang has stated it is not supported functionality and intends to fix it — it was removed in 26.2 pre-release 2 and only temporarily restored in pre-release 3. Many PvP servers and anti-cheats treat swap macros as cheating. Use this mod in singleplayer or on servers whose rules explicitly allow it; you are responsible for where you run it.

Spamming lunges is hungry work: every lunge costs 4 × Lunge level exhaustion, so a Lunge III spear burns roughly one drumstick and a half per lunge. Keep food handy.

Project description from CurseForge.

Pick your setup

Auto Lunge swap by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

18 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Auto Lunge swap versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.