Safe Offhand

Safe Offhand

Introduces lockable hotbar slots to prevent accidental offhanding.

by
4 Downloads
fabricequipmentgame-mechanicsutility
Rent Server with this Mod

About this Mod

Safe Offhand

Safe Offhand is a lightweight client-side Fabric mod that prevents accidental swaps to the offhand.

The mod adds lockable hotbar slots. When a locked hotbar slot is selected, pressing the offhand swap key will be blocked. Unlocked slots still work normally, and inventory-based offhand swaps are left untouched.

Safe Offhand Preview

Features

  • Lock or unlock each hotbar slot individually
  • Block the offhand swap key for locked hotbar slots
  • Allow offhand swaps from unlocked hotbar slots
  • Keep normal inventory interactions unchanged
  • Show an actionbar message when a swap is blocked
  • Configure everything through Mod Menu
  • Client-side only

How it works

If you select a locked hotbar slot and press your offhand swap key, Safe Offhand prevents that item from being moved to your offhand.

If the selected hotbar slot is unlocked, the offhand swap works normally.

Opening your inventory and using the offhand swap key on hovered items still works like vanilla Minecraft.

Blocked Offhand Swap

Configuration

Safe Offhand can be configured through Mod Menu.

You can configure:

  • Whether the mod is enabled
  • Whether actionbar messages are shown
  • Which hotbar slots are locked or unlocked

Safe Offhand Config

Slot States

Each hotbar slot can be set to one of two states:

  • Locked: pressing the offhand swap key while this slot is selected will be blocked
  • Unlocked: pressing the offhand swap key while this slot is selected will work normally

This makes it easy to protect important hotbar slots while still allowing offhand swaps from selected slots.

Locked and Unlocked Slots

Requirements

  • Fabric Loader
  • Fabric API
  • Cloth Config

Optional

  • Mod Menu, recommended for in-game configuration

Available Versions

Safe Offhand 1.0.0release
MC 26.2fabric
June 29, 2026

How to Install Safe 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.2).

3

Install Mod

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

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.2

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Safe 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.2). You can switch loaders with one click in the panel.

Is Safe Offhand compatible with fabric?

Safe Offhand officially supports fabric for Minecraft 26.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Safe Offhand – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Safe 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 Safe Offhand with just one click on your server.

Recommended RAM
4 GBfrom €8/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

26.2