Lock Slot

Quick rating

Community listing page, reviews here may not be monitored by the author.

Lock Slot

By cactozOwner

No reviews yet

Prevent dropping, or swapping items from locked slots.

Mod Loaders
Minecraft
26.2

About

Description

LockSlot

Lock individual hotbar slots — prevent dropping, or swapping items from locked slots. Client-side only, no server install needed.

Features

  • Lock any hotbar slot — press L (configurable) to toggle lock on the selected slot
  • Prevent item drop — Q and Ctrl+Q do nothing on locked slots
  • Block offhand swap — F key won't swap items from locked slots
  • Block inventory moves — shift-clicking, number key swaps, and drags are prevented from moving items out of locked slots
  • Visual marker — gold-bordered "L" indicator on locked slots (configurable corner position)
  • Full settings GUI — accessible via ModMenu or a configurable keybind

Config

Settings are saved to <config-dir>/lockslot.json and can be changed in-game via the GUI or by editing the file directly.

Dependencies

  • Fabric Loader ≥0.19.3
  • Fabric API
  • ModMenu ≥20.0.0
  • Cloth Config ≥26.2.155

License

MIT