
? 简介
一种安全的物品存储方式,并可使用你选择的钥匙将其锁定!附带防破坏措施。
此数据包在单人模式和多人模式下均可无缝运行。
? v3.0.0+ 使用方法
要锁定任意容器,只需注视该容器,并在主手持有已重命名的物品时执行命令 /trigger ChestLocker。如果容器尚未锁定,它将使用你手中持有的物品作为钥匙进行锁定,仅能通过该特定物品打开。物品的数量也可以作为密钥的一部分。
使用 /function locker:deleting/give_remover 获取移除器,然后右键点击任何已锁定的容器以移除其锁定。你需要拥有操作员权限才能使用此功能!
⚠️ 重要提示
物品耐久度包含在锁定系统中!这意味着如果你用耐久度为 x 的物品锁定容器,只有当该物品的耐久度仍为 x 时,才能用它来解锁该容器。
额外安全性
所有被锁定的容器均防火、防爆(包括苦力怕、末影水晶、TNT 矿车及 TNT 爆炸)。
示例
你可以使用 16x 圆石(重命名为 "Key 826423") 来锁定一个容器。
现在,只有当玩家手持 16x 重命名为 "Key 826423" 的圆石时,才能打开该容器。
要打开容器的锁,请持有正确的钥匙并右键点击容器。容器的锁现已打开,并在 5 秒后或打开容器后自动重新上锁,以确保容器内物品的安全。
要移除容器的锁,请持有正确的钥匙并左键点击容器。容器的锁现已移除,之后可以使用 /trigger ChestLocker 再次锁定。

? Description
A secure method to store items and lock them with a key of your choice! Comes with anti-grieve measures.
This datapack operates seamlessly in both singleplayer and multiplayer modes.
? How to use v3.0.0+
To lock any container, simply look at it and execute the command /trigger ChestLocker while holding an item that you've renamed in your main hand. If the container isn't already locked, it will secure it with the key you're holding, making it accessible only with that specific key. Item count can also be part of the key.
Use /function locker:deleting/give_remover and right click any locked container with the given item to remove that lock. You need operator permission to use this!
⚠️ IMPORTANT NOTE
Item durability is included in the locking system! This means that if you lock an item with x amount of durability, you can only use that item to unlock that container when it has the same amount of durability!
Extra security
All locked containers are fire proof, creeper, end crystal, tnt minecart and tnt explosion resistant.
Example
You can lock a container with 16x cobblestone renamed to "Key 826423".
This container can now only be opened when the player holds 16x cobblestone that is renamed to "Key 826423".
To open a lock on a container, hold the correct key and right-click the container. The lock on the container is now opened and will lock itself again after 5 seconds or after opening the container, ensuring the safety of the container's items.
To remove a lock on a container, hold the correct key and left-click the container. The lock on the container is now removed and can now be locked again with /trigger ChestLocker.
评论 0
登录后参与评分
还没有评论,来抢沙发吧