promotional bannermobile promotional banner

Restricted Inventory

Restrict player inventory slots to specific items or item tags. Configure which slots accept which items via JSON config — server-wide or per-client. Restricted slots display a visual preview of what belongs there.
Screenshot 2026-06-09 221612.png

Screenshot 2026-06-09 221612.png

Description

Restricted Inventory

Lock player inventory slots to specific items or item tags.

Ever wanted to keep a dedicated slot for your sword, always have slot 0 as your torch, or enforce item organization across your server? Restricted Inventory lets you do exactly that — configure any inventory slot (0–35) to only accept a specific item or item tag, server-wide or per player.

Features

  • Slot restrictions — Lock any hotbar or inventory slot to a specific item (e.g. minecraft:torch) or an entire item tag (e.g. #minecraft:swords)
  • Server or per-client mode — Apply the same rules to all players from the server config, or let each player define their own restrictions in their client config
  • Visual feedback — Restricted slots display a ghost preview of the required item so players always know what goes where
  • Slot index overlay — Hold Tab in any inventory screen to reveal each slot's index number, making config setup a breeze
  • Smart item routing — Picked-up items automatically go to their designated slots first before filling unrestricted ones

Configuration

Restrictions are defined in a simple JSON config file. Both specific items and item tags are supported.

{
  "useClientRestriction": false,
  "restrictedSlots": {
    "0": "minecraft:torch",
    "1": "#minecraft:swords",
    "8": "minecraft:totem_of_undying"
  }
}
Slot range Location
0–8 Hotbar (survival mode only)
9–35 Main inventory

Note: Slot indices 0–8 correspond to the hotbar in survival mode. In creative mode, the hotbar uses a different inventory layout and slot restrictions will not apply there.

Compatibility Note

This mod hooks into vanilla's slot placement and item pickup logic via Mixin. Mods or block entities that insert items directly into the player inventory (bypassing standard slot logic) may not respect the restrictions. Mods that also modify Slot, Inventory, or AbstractContainerScreen may conflict.

The Restricted Inventory Team

profile avatar
  • 11
    Followers
  • 14
    Projects
  • 528.9K
    Downloads

More from CoolerProMCView all

  • Arrow+ project image

    Arrow+

    • 8.9K
    • Mods

    Adds new arrow types with different damage levels using only vanilla ingredients. A simple Vanilla+ upgrade for archery.

    • 8.9K
    • June 11, 2026
    • Mods
    • +1
  • Uncraft Everything project image

    Uncraft Everything

    • 206.4K
    • Mods

    Crafted wrong item? Uncraft everything with this mod!

    • 206.4K
    • June 8, 2026
    • Mods
  • Easy Brewing project image

    Easy Brewing

    • 6.3K
    • Mods

    Easy Brewing is a highly configurable Minecraft mod that introduces an advanced Brewing Station with full Cobblemon brewing support (alongside vanilla), featuring upgradeable speed and output, potion stacking, and flexible brewing configuration.

    • 6.3K
    • June 3, 2026
    • Mods
    • +2
  • More Sponge project image

    More Sponge

    • 92
    • Mods

    Adds compressed sponges and new lava, snow, and fire sponge variants — each with 5 compression tiers, passive biome-based drying, and a Freezer machine.

    • 92
    • June 7, 2026
    • Mods
  • Arrow+ project image

    Arrow+

    • 8.9K
    • Mods

    Adds new arrow types with different damage levels using only vanilla ingredients. A simple Vanilla+ upgrade for archery.

    • 8.9K
    • June 11, 2026
    • Mods
    • +1
  • Uncraft Everything project image

    Uncraft Everything

    • 206.4K
    • Mods

    Crafted wrong item? Uncraft everything with this mod!

    • 206.4K
    • June 8, 2026
    • Mods
  • Easy Brewing project image

    Easy Brewing

    • 6.3K
    • Mods

    Easy Brewing is a highly configurable Minecraft mod that introduces an advanced Brewing Station with full Cobblemon brewing support (alongside vanilla), featuring upgradeable speed and output, potion stacking, and flexible brewing configuration.

    • 6.3K
    • June 3, 2026
    • Mods
    • +2
  • More Sponge project image

    More Sponge

    • 92
    • Mods

    Adds compressed sponges and new lava, snow, and fire sponge variants — each with 5 compression tiers, passive biome-based drying, and a Freezer machine.

    • 92
    • June 7, 2026
    • Mods