Credits: Vechrozilator
In order to create a lock, you will need to put a Tripwire Hook on an Anvil and rename it to "locker". Use this Tripwire Hook on a chest or barrel to set a password for it. Password can be between 5 and 30 characters long. You can also choose to receive notifications if anyone tries to open it. Every time you want to use the chest, you will be required to enter the password, so it may be a little inconvenient for frequently used chests.
Changelog
- Support the latest update of the game (1.21.31 and 1.21.40-preview)