Compatibility
Minecraft: Java Edition
1.20–1.20.4
Platforms
Data Pack
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published 9 months ago
Updated 9 months ago
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
datapacks
folder of your Minecraft world. - Run
/function lock_block:give_items
to 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 + B
for 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.