Lia's Better Offhand

Lia's Better Offhand

A client-side Fabric mod for Minecraft 26.1.2 that prevents accidental offhand item activation while using your main hand.

by
35 Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

About this Mod

Fabric API
Cloth Config
Mod Menu

Lia's Better Offhand

A client-side Fabric mod for Minecraft 26.1.2 that prevents accidental offhand item activation while using your main hand.

What it does

Ever been eating food and then suddenly half a stack of fireworks has hit the cieling? Or suddenly zoomed in with your spyglass? Or perhaps you were throwing snowballs at a friend and didn't appreciate throwing your shield up when you ran out?

In vanilla, if you hold right click to use an item in your main hand, like eating food, the offhand item will activate as soon as the main hand action completes, even if you're still holding the button down. This mod blocks the offhand from activating until you release and re-press right click.

This applies to:

  • Hold right click items: food, potions, crossbows, goat horn, and any other item with a use animation
  • Instant use stackables: snowballs, eggs, ender pearls, splash potions, fireworks, and any other item that consumes from a stack on use
  • Items breaking while used
  • Crossbow firing
  • Tools and utility items used on blocks: axes (stripping/scraping/dewaxing), shovels, hoes, bonemeal, shears, flint and steel
  • Leads: attaching to fence posts, picking up from fence posts, attaching to animals, removing from animals
  • Entity interactions: shearing sheep, applying/removing saddles, any other successful entity interaction

Known limitations:

  • Instant use items detection (e.g. throwing the last snowball in a stack) rely on the stack size changing, or specific item names and types. If a mod adds an instant-use item that doesn't reduce stack size, or isn't in the type list, it may not be caught.

Dependencies

This mod requires:

Recommended, but not required:

About

This is the first Minecraft mod I've ever made, which was initially just for personal use on the Immortal MC server where we have a fully generated voxy file that I love using the spyglass with (in my offhand). If you're looking for a small, tight-knit, vanilla survival (with a couple pluigns) come check us out!

For full disclosure, a self-hosted AI model was used to assist in developing this, since I've never created a mod before and just wanted a simple fix for a tiny issue I was having which I couldn't find any maintained mods for. I tried to do as much coding as I could myself but most of my coding knowledge is in Python, and Java is a big jump lol. A lot of the tasks I set it were debugging and optimisation. Since this AI model was self-hosted on my own GPU no lakes were drained 🙂, it just made my PC go brr which drew about as much wattage as Cities: Skylines II normally does, although maybe it was less lol.

Contributing

Contributions are more than welcome! Please make this better! If you find anything that could be improved, whether that be a bug or a new feature, feel free to open an issue or submit a pull request in the Github repository. I'm sure I've probably missed some edge cases. If I'm unable to maintain this mod for newer versions of Minecraft, I'm happy for anyone to fork and continue it 🏳️‍🌈🏳️‍⚧️

Available Versions

Lia's Better Offhand 1.1.0release
MC 26.1.2fabric
June 8, 2026
Lia's Better Offhand 1.0.0release
MC 26.1.2fabric
June 7, 2026

How to Install Lia's Better Offhand on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Lia's Better Offhand". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Lia's Better Offhand server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Lia's Better Offhand compatible with fabric?

Lia's Better Offhand officially supports fabric for Minecraft 26.1.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Lia's Better Offhand – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lia's Better Offhand consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Lia's Better Offhand with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Unsupported

Supported Versions

26.1.2