What does it do?
Using a key will lock the chest or other containers (listed below) against other players. The chest opens only by having the key in hand and open the chest or unlocking the container completely again.
[ Multiplayer capable ]
Which containers are lockable?
open to see image of all lockable containers
- chest
- shulker box
- barrel
- trapped chest
- smoker
- furnace
- blast furnace
- brewing stand
- hopper
- dropper
- dispenser
- beacon
Lockpicking
Can be turned of via command:
OFF: /scoreboard players set lockpicking k_knl_options 0
[Default] On: /scoreboard players set lockpicking k_knl_options 1
By crafting a Lockpick players are able to open locked container by holding the lockpick int thier hand, looking the the locked container and holding sneak.
On the top a progress bar will appear. The player need to get it full.
The chance of the lockpick breaking is high, so the player needs some in their inventory.
The player needs to have a spawnpoint set on a bed to Lockpick a container
bacause the spawn cord are used to generate the bossbar for the player
See Lockpick recipe
Recipe is shapless and can also be crafted in a 2x2
Protection
Locked container are protected by breaking from other player.
Also if there is any primed TNT near a locked container it will despawn.
How...
...does it work?
By crafting the item you'll generate a unique key which is different to every player.
Crafting another key will result into the same key, so even if you lose your key you can craft another one.
Only the player who lock the container can open or unlock it again.
...to craft:
Simple put a stick and a Iron nugget into a 2x2 or 3x3 crafting grid. (It will result into a knowledge book but after picking it up it will convert into the key.)
open to see image of crafting recipe
...to use it:
Sneak right against the container and look at it, this way it will lock it.
Doing it again in front of the locked container you can unlock it again.
Notes and issues:
Know Issues:
- Looking at the edge of the container the indication will be next to the container.
- Also the container can't be locked or unlocked
Bugs&News | All Projects |
---|---|