Chest Lock is a simple mod that allows you to lock chests easily! Normally in vanilla minecraft you have to use
/data merge block [CORDINATES] {Lock: "KEY NAME"}
to lock a chest or other open-able block. Not to mention you have to have an op permission level to use the command. This mod allows you to lock a block with a single command, and a few clicks!
HOW TO LOCK A CHEST OR ANY OTHER OPEN-ABLE BLOCK:
- Stand on top of the block
- Enter the command "/lock"
- Select the type of block you are locking
- Enter the name of the key
- Click "Lock!"
You can now only open the block by clicking while holding any item named "[NAME OF YOUR KEY]".
Note: you can skip the first GUI screen by using "/lock chest" or "/lock other" or you can use "/lock [BLOCK] [KEY NAME]" to skip all the gui
1.0.3 Command updated to use parameters, mouse no longer snaps to the center of the screen when going through GUI, background no longer flashes when going through GUI
1.0.2 Added ability to add key name in command "/lock chest key" (1 word only), Discontinued 1.16.5, and 1.17.1 versions. Mod status is now maintenance only.
1.0.1 Added config with option to limit /lock command to op players (Useful for forge servers)
1.0.0 Posted on mcreator.net
Nice try though.