Compatibility
Minecraft: Java Edition
1.21.4
1.21–1.21.1
1.20.x
1.19.x
1.18.x
1.17.x
1.16.2–1.16.5
Platforms
Data Pack
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published 11 months ago
Updated 2 weeks ago
A secure method to store items and lock them with a key of your choice!
This datapack operates seamlessly in both singleplayer and multiplayer modes.
How to use v2.1.0+
To lock any container, simply look at it and execute the command '/trigger ChestLocker' while holding an item that you've renamed in your main hand. If the container isn't already locked, it will secure it with the key you're holding, making it accessible only with that specific key. Item count can also be part of the key.
Example
You can lock a container with 16x cobblestone renamed to "Key 826423"
.
This container can now only be opened when the player holds 16x cobblestone that is renamed to "Key 826423".