Simply lock and sort your inventory! Total control over slots, drop prevention, and smart cleanup.
Lock & Order is the ultimate solution for players who want complete control over their inventory. This mod allows you to "freeze" specific slots, protecting your valuable items from accidental dropping, unwanted automation, or sorting chaos.
The core philosophy of Lock & Order is staying Vanilla Friendly. We avoid cluttered interfaces and excessive features, making it a perfect fit for purist utility setups.
ALT + Left Click — toggle the lock status of a single slot.ALT + Hold Left Click — simply drag your mouse over multiple slots for rapid locking.
ALT + SHIFT + Left Click — instantly toggle entire sections: hotbar, main inventory, armor slots, or container contents.
ALT + Middle Click — tidy up your inventory.

ALT + DELETE (Creative Mode) — quickly clear your inventory (similar to Shift+Click on the trash icon), but it won't touch your locked "tools."
The mod blocks any unintentional interaction with protected slots:
Q is completely ignored for locked slots. You can't accidentally toss your gear into fire or the void.
F is disabled if either of the involved slots is locked.
Shift + Left Click completely ignores locked slots, preventing accidental transfers to chests or other containers.



Lock & Order allows you to fully adapt the interface to your taste.
lock_and_order.properties config file.

🖱️ Mouse Tweaks: Quick-move mechanics from Mouse Tweaks correctly respect locked slots.
⚰️ Grave Mods: Lock information is saved upon death. Your items will return to their designated slots, even if slots were locked.

This mod is currently in Beta. We strongly recommend making backups of your worlds! At this stage, support for third-party storage from other mods is limited.
Future Plans:
You are free to include this mod in any modpack! However, please note that the mod is under the All Rights Reserved license. This means you can distribute the mod as part of a collection, but you may not redistribute the standalone JAR file, modify the code, or claim it as your own.
Join our Discord server! It's the best place to chat with the community, suggest new features, or report any bugs you find.
Created by Makinuko
🔒 Lock & Order: Total Inventory Protection
Lock & Order — это ультимативное решение для тех, кто хочет держать свой инвентарь под полным контролем. Мод позволяет «замораживать» выбранные слоты, защищая ценные ресурсы от случайного выброса, нежелательной автоматизации или хаоса при сортировке.
Главное отличие Lock & Order — это верность принципу Vanilla Friendly. Мы не перегружаем интерфейс лишними кнопками, сохраняя лаконичность и простоту оригинальной игры.
ALT + ЛКМ — переключить состояние одиночного слота.ALT + Зажатый ЛКМ — просто проведите мышью над нужными ячейками для массовой блокировки.
ALT + SHIFT + ЛКМ — мгновенная блокировка целых секций: хотбар, основной инвентарь, броня или содержимое контейнеров.
ALT + СКМ (Средняя кнопка мыши) — приводит инвентарь в порядок.

ALT + DELETE (в Креативе) — быстрая очистка инвентаря, которая не затронет ваши заблокированные «инструменты».
Мод блокирует любые попытки непреднамеренного взаимодействия с защищенными ячейками:
Q, даже находясь внутри интерфейса.
F игнорируется, если хотя бы один из взаимодействующих слотов заблокирован.
Shift + ЛКМ полностью игнорирует закрытые ячейки, исключая случайную передачу ценностей в сундук.



Вы можете изменить цвета рамок и заливки слотов под ваш вкус или ресурспак.
lock_and_order.properties.


Мод находится в стадии Beta. Мы рекомендуем делать резервные копии миров!
Планы на будущее:
Вы можете свободно включать этот мод в любые модпаки! При этом просим учитывать, что мод распространяется под лицензией All Rights Reserved. Это означает, что вы можете использовать его в составе сборок, но не имеете права перевыкладывать файл отдельно, изменять код или выдавать его за свою разработку.
Присоединяйтесь к нашему Discord-серверу! Там вы сможете пообщаться с другими пользователями, предложить свои идеи или сообщить о найденных багах.
Автор: Makinuko
Conversation