HomeJavaDatapacksThat One Chest Lock
That One Chest Lock
DatapacksJava

That One Chest Lock

Lock trapped chests with a trial key renamed in an anvil. Can't be opened, can't be broken, can't be drained by a hopper. Server-side, no client mod.

⬇ Download on Modrinth

That One Chest Lock

Lock your trapped chests using renamed trial keys.

The name of the trial key becomes the chest’s password. Anyone holding a trial key with the exact same name can open the chest normally, making it easy to create spare keys and share access with other players.

Features

Regular chests are intentionally ignored. Trapped chests provide a clear visual indicator that the container can be locked.

How to Use

Create a Key

Obtain a trial key and rename it using an anvil. Its name will be used as the password.

Lock a Chest

Place a trapped chest, hold your renamed trial key, look directly at the chest, and run:

/trigger lock

Open a Chest

Hold a trial key with the matching name and right-click the chest normally.

Unlock a Chest

Hold the matching trial key, look at the chest, and run:

/trigger unlock

Installation

  1. Place the datapack ZIP inside your world's datapacks folder.
  2. Run /reload.
  3. Run /datapack list to confirm that the datapack is enabled.

Important Limitations

Protect your diamonds, valuables, and suspicious stacks of dirt with That One Chest Lock.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more