HomeJavaDatapacksKaths Keys&Locks
Kaths Keys&Locks
DatapacksJava

Kaths Keys&Locks

by Kathezel · on Modrinth

Bugs&News All Projects Direct link Direct link What does it do? Using a key will lock the chest or other containers (listed below) against other players…

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Data pack only.

⬇ Download for 1.21.5–1.21.11⬇ Download for 1.21.4⬇ Download for 1.21.2–1.21.3⬇ Download for 1.21–1.21.1⬇ Download for 1.20.5–1.20.6⬇ Download for 1.20.3–1.20.4⬇ Download for 1.20.2
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Kaths Keys&Locks — screenshot 1Kaths Keys&Locks — screenshot 2Kaths Keys&Locks — screenshot 3Kaths Keys&Locks — screenshot 4Kaths Keys&Locks — screenshot 5Kaths Keys&Locks — screenshot 6Kaths Keys&Locks — screenshot 7
Bugs&News All Projects
Direct link Direct link

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

all lockable containers


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

recipe

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

all lockable containers

...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:

Note for content creators:

I'm interested in seeing people playing and/or giving feedback on my Datapacks. So if you are creating a video of any kind with or about my datapacks, I would be really happy to get notified on my discord about it, so I can see your feedback. Also if you allow me to, I would put it on the Modrinth page, so others can see a first impression. This is not necessary, you don't have to!

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

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

Explore more