promotional bannermobile promotional banner

Locked Chest

A Fabric mod for Minecraft 26.2. Lock a chest, barrel, or shulker box to only accept specific items.

# Locked Chest

A Fabric mod for Minecraft 26.2. Lock a chest, barrel, or shulker box to
only accept specific items.

## How it works

Every chest, barrel, and shulker box gets a small button in the top-right
corner of its screen, showing "All" by default. Click it to open a search
list and pick one or more items - the button then shows how many items
are locked in.

Once locked:
- Only the selected item(s) can be placed into that container, whether by
  hand or pushed in by a hopper (or hopper minecart, dispenser, etc.)
- Anything already inside, or the locked item(s) themselves, can still be
  taken out freely - locking only restricts what goes *in*.
- Click "Unlock (accept all)" in the picker to return it to normal.

Each container remembers its own lock independently and persists it to
disk.

## Requirements

| Requirement    | Version   |
|----------------|-----------|
| Minecraft      | 26.2      |
| Fabric Loader  | 0.19.3+   |
| Fabric API     | 0.160.0+26.2 |
| Java           | 25+       |

## Installation

1. Install [Fabric Loader](https://fabricmc.net/use/) for Minecraft 26.2.
2. Download [Fabric API](https://modrinth.com/mod/fabric-api) matching 26.2.
3. Download the latest release of this mod.
4. Place both `.jar` files in your `mods` folder.

 

Locked Chest Team

profile avatar
  • 2
    Projects
  • 318
    Downloads

More from AyanStudio

  • Quick Drag Transfer project image

    Quick Drag Transfer

    Hold Shift + Left Click and drag your cursor across inventory slots, every item-holding slot you pass over is instantly transferred, the same move a plain Shift + Click already does, just without clicking each stackby hand.

    • 313
    • September 30, 2026
  • Quick Drag Transfer project image

    Quick Drag Transfer

    Hold Shift + Left Click and drag your cursor across inventory slots, every item-holding slot you pass over is instantly transferred, the same move a plain Shift + Click already does, just without clicking each stackby hand.

    • 313
    • September 30, 2026