Skip to content
Melonslise edited this page Jul 20, 2020 · 13 revisions


Lock
Stackable No
Item ID locks:lock

Obtaining

Currently locks cannot be obtained from crafting. However, it's still possible to obtain locks in survival. If enabled in the mod's configuration menu all chests in the world will generate with locks attached which can then be picked and removed.

You can also change the value of the "Length" NBT tag in each lock item individually, which will affect the amount of pins on any locks placed with that item.

Usage

Placement

It is possible to lock multiple blocks of any kind by selecting two corners of the area you want locked forming a sort of cuboid. A visual interface will appear to help after the first corner has been selected. Blocks from other mods can also be locked which can be specified in the mod's configuration menu.

Behavior

Locked blocks cannot be used or destroyed by players in their locked state. Any Key with a matching ID can be used to toggle the lock's state, while a Lock Pick can be used to force the lock open.

A lock can be removed by either breaking one of the blocks or sneak-right-clicking one of the blocks while in an unlocked state, all of which can be disabled in the mod's configuration menu.

Clone this wiki locally