Oggvik's Inventory Freeze
Modby oggvik
Let's you "freeze" configurable inventory slots globally for all players
Type
Mod
CurseForge Downloads
4,664
CurseForge ID
1402049
Last Updated
Jul 29, 2026
Description
Oggvik's Inventory Freeze
A simple Minecraft Forge mod written in Java that lets you "freeze" configurable inventory slots globally for all players. It's main purpose is to be used on a server (e.g. an RP server with roleplaying events where you'd want to limit the number of inventory slots for the sake of added immersion) or as part of modpacks (e.g. ultra hardcore survival ones).
The mod provides a single command to enable globally "freezing" specific inventory slots:
/inventory-lock [true/false]
DESIGN
- πͺ· Very clean & simple code written in Java
- π Server-side watchdog to prevent item duping exploits & item deletion
- π Could easily be ported to newer Minecraft/Forge versions
- π Custom item pickup logic to prevent picking up items into "frozen"/"locked" inventory slots
- π¨ GUI effects (frontend) code isolated from rest of the program's internal logic (backend)
- π©· Tiny size (currently a mere ~330 KB)
- π Tested to work in both survival and on multiplayer with many people / on a server
FUNCTIONALITY
- π§ "Freeze" parts of the players' inventories while /inventory-lock true is set.
- β When /inventory-lock is true players cannot put in, take out, or delete items from their own "frozen"/locked inventory slots.
- π Only freezes the inventory slots configured. Aka doesn't affect inventory slots such as chests, other mods (e.g. backpacks), armor, capes, and other custom inventory slots related to cosmetics.
- πΌοΈ The slots that are frozen will be indicated with a gray transparent square overlay (indicator appearance might be altered in future versions).
- πͺ½ Automatically unfreezes the inventories of players when they switch to creative mode, then re-freezes them again if they exit creative mode while the /inventory-lock is true.
- π’ The inventory slots to be frozen are to be easily configurable by server admins.
- [WIP]
π§βπ€βπ§ Exclude specific players from the /inventory-lock. For example whoever is hosting an RP event on a server or playing an actor could be excluded from the /inventory-lock for the duration of that time.
COMPATIBLE VERSIONS
Minecraft: 1.16.5
Mod Launcher: Forge (tested on 36.2.42)
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
Dual Swords
Parry, riposte, and dual wield in Minecraft.
SaroΒ΄s Fruit Trees
Adds Apple, Orange, Pear, and Gold Apple trees with unique growth stages, harvestable fruit, and juice/jam processing.
Your Options Shall Be Saved (YOSBS)
Preserve player configs when updating modpacks by creating the default config on first launch only and never touching it...
Silver Birch
Adds the scrapped birch forest update as well as fireflies from Minecraft Live.
Create: Bits 'n' Tracks
This mod will allow you to make tracks with a belt/chain system from the Bits 'n' Bobs mod! Wow!
Boss Bar Begone
A lightweight client-side mod that lets you selectively hide boss bars by name using a simple JSON config.