作者:rebot | 分类:模组
Minecraft 版本: 23w31a 23w32a 23w33a 23w35a 1.20.2-pre1 1.20.2 23w40a 23w41a 23w42a 23w43a 23w43b 23w44a 23w45a 23w46a 1.20.3-pre1 1.20.3-pre2 1.20.3-pre3 1.20.3-pre4 1.20.3 1.20.4 23w51a 23w51b 24w03a 24w03b 24w04a 24w05a 24w05b 24w06a 24w07a 24w09a 24w10a 24w11a 24w12a 24w13a 24w14a 1.20.5-pre1 1.20.5-pre2 1.20.5-pre3 1.20.5-pre4 1.20.5-rc1 1.20.5-rc2 1.20.5-rc3 1.20.5 1.20.6 24w18a 24w19a 24w19b 24w20a 24w21a 24w21b 1.21-pre1 1.21-pre2 1.21-pre3 1.21-pre4 1.21-rc1 1.21 1.21.1 24w33a 24w34a 24w35a 24w36a 24w37a 24w38a 24w39a 24w40a 1.21.2-pre1 1.21.2-pre2 1.21.2 1.21.3 24w44a 24w45a 24w46a 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8
平台: datapack
标签: game-mechanics utility
This datapack adds the ability lock doors, trapdoors, fance gates, levers and buttons.
You can also make animated doors.

Sets the password for supported blocks. Before use, you must rename on the anvil. Must be applied on the inside of the block.
The locker owner can always open their locks without a password!
Tip: If you remove the name (just set the name as a space) then Door Locker will not have a password, which is good for double doors if you don't need a password.

Turns a locked door into an animated version of the door. Doesn't change password. After that, the door cannot be opened / closed using redstone or villagers.
Works for doors only.

Allows the owner of the lock to completely remove the lock from the block. Door Locker will not be returned. When removing a lock from an animated door, the doors will be dropped as items.
You can use this datapack in your project, just provide a link to this page in credits.
You can use any item with custom text in the item name as a key.
You can get Door Locker with key name in two ways:
loot give @s loot door_locker:door_locker
item modify entity @s weapon door_locker:copy_name
Make the key one-time use:
item modify entity @s weapon door_locker:melt
Remove password for Door Locker:
item modify entity @s weapon door_locker:unlock
Remove password for Door Locker but without sounds and particles:
item modify entity @s weapon door_locker:unlock/no_sound
You can apply multiple modifiers to keys. The modifier will only work if the password matches. Door Locker checks only iten Name and does not check ID, Lore and any other data.
请登录后举报
暂无评论,抢个沙发吧~