COWMODSКаталог модов

Kaths Keys&Locks

Lock your chest and other containers against other players stealing your diamonds.

Автор: Kathezel1,3 тыс.7обновлён 28 июн. 2025 г.
УправлениеХранениеУтилиты

Описание

Bugs&NewsAll Projects
Direct linkDirect 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

  • 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

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:

  • Looking at the edge of the container the indication will be next to the container.
    • Also the container can't be locked or unlocked

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!

Галерея

Lockable containercrafting recipeUnlocked / is lockableWas locked

Последние версии

Все версии →
release

Kath K&L 1.5.3

1.5.3
28 июн. 2025 г.164Minecraft: 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11datapack
Скачать
Что нового
## 1.21.5+6+7 Support
release

Kath K&L 1.5.3

1.5.3
19 февр. 2025 г.59Minecraft: 1.21.4datapack
Скачать
Что нового
1.21.4 Support
release

Kath K&L 1.5.3

1.5.3
18 нояб. 2024 г.33Minecraft: 1.20.5, 1.20.6datapack
Скачать
release

Kath K&L 1.5.3

1.5.3
18 нояб. 2024 г.72Minecraft: 1.21, 1.21.1datapack
Скачать
release

Kath K&L 1.5.3

1.5.3
18 нояб. 2024 г.51Minecraft: 1.21.2, 1.21.3datapack
Скачать
Что нового
# Patch 1.5.3/ 18.11.24 **1.21.2 and .3 support** **Changed:** - Loading text shows version number now - Advancement tab now has playhead instead of a nether star. **Fixed:** - Uninstall function did not deactivate datapack. - *pack.mcmate* hat the wrong *pack_format* number
release

Kath K&L 1.5.2

1.5.2
2 авг. 2024 г.32Minecraft: 1.20.3, 1.20.4datapack
Скачать
release

Kath K&L 1.5.2

1.5.2
2 авг. 2024 г.18Minecraft: 1.20.5, 1.20.6datapack
Скачать
release

Kath K&L 1.5.2

1.5.2
2 авг. 2024 г.89Minecraft: 1.21, 1.21.1datapack
Скачать
Что нового
# Patch 1.5.2/ 02.08.24 **Added:** - using the uninstall function all locked blocks will get opened. - only works for blocks in loaded chunks. - *Crafter* can now also be locked. **Fix:** - Locking system got more accurate and is not offset if looking at the edge of a container.
release

Kath K&L 1.5.1 [1.21-Hotfix]

1.5.1
20 июл. 2024 г.47Minecraft: 1.21datapack
Скачать
Что нового
# Patch 1.5.1 / 20.07.24 **Fixed:** - [1.21] datapack is not useable.
release

Kath K&L 1.5

1.5
19 июл. 2024 г.30Minecraft: 1.20.3, 1.20.4datapack
Скачать