Перейти к содержимому
Mineforgian

Kaths Keys&Locks

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

Загрузки
1K
Подписчики
7
Обновлён
28 июня 2025 г.
Лицензия
All-Rights-Reserved

Опубликован 19 октября 2023 г.

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

  • 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!

Ченджлог

1.5.3Релиз1.21.9, 1.21.10, 1.21.11 · 28 июня 2025 г.

1.21.5+6+7 Support

1.5.3Релиз1.21.4 · 19 февраля 2025 г.

1.21.4 Support

1.5.3Релиз1.21.2, 1.21.3 · 18 ноября 2024 г.

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
1.5.2Релиз1.21, 1.21.1 · 2 августа 2024 г.

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.
1.5.1Релиз1.21 · 20 июля 2024 г.

Patch 1.5.1 / 20.07.24

Fixed:

  • [1.21] datapack is not useable.
1.5Релиз1.21 · 19 июля 2024 г.

Patch 1.5 / 19.07.24

Added:

  • Uninstall info after using the uninstall function.
  • Lockpicking
    • Lockpick item (1 gold ingot, 1 copper ingot, 1 stick)
    • Player needs to hold 30 sec. to unlock container
    • High changes of breaking the lockpick
    • Can be turned of via command
      • /scoreboard players set lockpicking k_knl_options 0
    • Player needs to have set spawnpoint at a bed once
  • Protection
    • player looking at locked containers witch aren't theirs will get mining fatigue.
    • Primed TNT near locked container will despawn.

Fixed:

  • Not all scoreboard are removed after using the uninstall function.
  • All player on a server could hear the sounds of locking und unlocking

End of 1.20.2 support

1.4Релиз1.21 · 30 июня 2024 г.

Patch 1.4 / 30.06.24

  • [1.20.5+]Fixed: debug raycast is shown if key is in hand.
  • Added: Chest can be unlock in creative via /trigger knl_ad_un ("admin" unlock)
1.3Релиз1.21 · 16 июня 2024 г.

Patch 1.3 / 16.06.24

  • 1.21 support
  • Changed: Uninstalling the pack now disables the pack.
  • Fixed: Uninstalling does not removed all scoreboards.

Комментарии

Загружаем…