
Lock Block Datapack
Version: 1.0.1
Minecraft Version Compatibility: 1.20 and up
Overview
Lock Block enhances adventure mode by allowing map creators to lock specific blocks like Trapdoors, Doors, Crafting Tables, Buttons, etc. This prevents unauthorized interactions, giving greater control over player experiences.
Getting Started
- Download Lock Block Datapack.
- Place it in the
datapacksfolder of your Minecraft world. - Run
/function lock_block:give_itemsto get locking tools.
Usage
Locking Blocks:
- Equip tools.
- Lock the desired block.
Removing Locks:
- Use removal tool.
- Interact with the locked block.
Hitboxes:
- Enable with
F3 + Bfor precise locking.
- Enable with
Example Blocks
- Doors
- Trapdoors
- Crafting Tables
- Buttons
- And more...
Notes
- Ensure proper command permissions.
- Designed for Minecraft version 1.20 and newer.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20, 1.20.1, 1.20.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
Verified by MCModsHub
- Downloads as block_lock-v1.0.2.zip
- Download size: 23 KB
- Download link checked 8 Sept 2026 — working
These come from our own check of the pack file, not from the source page.