Inventory Slot Lock
No reviews yet
Locks all inventory slots except the hotbar. Unlock more slots using player attributes!
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description

Locks player inventory slots by default, except for the 9 hotbar slots. Expand your inventory using custom player attributes! Perfect for RPG modpacks, hardcore survival, or progression-based gameplay.
## ✨ Features
* **Visual Lock:** Locked inventory slots are clearly overlayed with a custom lock icon so players know which slots are unavailable.
* **Click Prevention:** Players cannot move, drop, or place items into locked slots, completely sealing them off.
* **Drop Overflow:** When picking up items, if the allowed inventory slots are full, the items will drop to the ground.
## ⚙️ Configuration
You can customize the starting number of unlocked slots in the config file.
* **File Location:** `config/inventory_lock-common.toml`
* **Default Setting:** `initial_unlocked_slots = 9` (Only the hotbar is unlocked at the start)
## 🔮 Attributes (How to Unlock Slots)
This mod adds a custom player attribute that manages the maximum allowed slots. You can grant extra slots to players via commands, custom items, or other progression mods:
* **Attribute ID:** `inventory_lock:extra_slots`
### Example Command (To add 9 more slots to yourself):
`/attribute @s inventory_lock:extra_slots base set 9`
*(Max slots cap is set to 36, meaning the full standard inventory)*
---
Developed for Minecraft 1.20.1 (Forge).
こんにちは!👋 I am a Japanese developer and not very fluent in English, so I use a translation tool for this description and support. Thank you for your warm understanding! 🌸😊
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources