promotional bannermobile promotional banner

Oggvik's Inventory Freeze

Let's you "freeze" configurable inventory slots globally for all players
Locked slots gray overlay example

Locked slots gray overlay example

Custom inventory slot server config example

Custom inventory slot server config example

Locked slots gray overlay in a modpack example

Locked slots gray overlay in a modpack example

Locked slots gray overlay with a resource pack example

Locked slots gray overlay with a resource pack example

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)

The Oggvik's Inventory Freeze Team

profile avatar
Owner
  • 5
    Projects
  • 6.4K
    Downloads

More from oggvikView all

  • Configurable Zombie AI project image

    Configurable Zombie AI

    • 936
    • Mods

    A simple mod written in Kotlin that gives server admins several options to customize the vanilla zombie AI including with some brand new AI features. Also works in singleplayer!

    • 936
    • April 26, 2026
    • Mods
    • +1
  • DOH: Tips project image

    DOH: Tips

    • 916
    • Resource Packs

    A custom set of tips for the "Dawn of Humanity" AoT-inspired roleplaying server

    • 916
    • April 24, 2026
    • Resource Packs
    • +1
  • Zombies Apocalyptic AI project image

    Zombies Apocalyptic AI

    • 1.3K
    • Mods

    *ARCHIVED* | Minecraft Forge mod that transforms zombies into a relentless, shifting horde. They ignore line-of-sight, allowing them to track victims through walls, and dynamically switch between targets to create a more chaotic and overwhelming experience

    • 1.3K
    • February 15, 2026
    • Mods
    • +1
  • Zombies Ignore LOS project image

    Zombies Ignore LOS

    • 16
    • Mods

    A basic Minecraft Forge mod written in Java that makes it so zombies ignore line-of-sight. Meaning they can target players even if there is a wall in-between blocking their view.

    • 16
    • February 14, 2026
    • Mods
  • Configurable Zombie AI project image

    Configurable Zombie AI

    • 936
    • Mods

    A simple mod written in Kotlin that gives server admins several options to customize the vanilla zombie AI including with some brand new AI features. Also works in singleplayer!

    • 936
    • April 26, 2026
    • Mods
    • +1
  • DOH: Tips project image

    DOH: Tips

    • 916
    • Resource Packs

    A custom set of tips for the "Dawn of Humanity" AoT-inspired roleplaying server

    • 916
    • April 24, 2026
    • Resource Packs
    • +1
  • Zombies Apocalyptic AI project image

    Zombies Apocalyptic AI

    • 1.3K
    • Mods

    *ARCHIVED* | Minecraft Forge mod that transforms zombies into a relentless, shifting horde. They ignore line-of-sight, allowing them to track victims through walls, and dynamically switch between targets to create a more chaotic and overwhelming experience

    • 1.3K
    • February 15, 2026
    • Mods
    • +1
  • Zombies Ignore LOS project image

    Zombies Ignore LOS

    • 16
    • Mods

    A basic Minecraft Forge mod written in Java that makes it so zombies ignore line-of-sight. Meaning they can target players even if there is a wall in-between blocking their view.

    • 16
    • February 14, 2026
    • Mods