Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Block Lock

Block Lock

Lock Block is a Minecraft datapack designed for adventure map creators.

159
4
Adventure
Game Mechanics
Utility

Compatibility

Minecraft: Java Edition

1.20–1.20.4

Platforms

Data Pack

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

View source

Creators

ella
ella Owner

Details

Licensed MIT
Published last year
Updated last year
DescriptionGalleryChangelogVersions

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

  1. Download Lock Block Datapack.
  2. Place it in the datapacks folder of your Minecraft world.
  3. Run /function lock_block:give_items to get locking tools.

Usage

  • Locking Blocks:

    1. Equip tools.
    2. Lock the desired block.
  • Removing Locks:

    1. Use removal tool.
    2. Interact with the locked block.
  • Hitboxes:

    • Enable with F3 + B for precise locking.

Example Blocks

  • Doors
  • Trapdoors
  • Crafting Tables
  • Buttons
  • And more...

Notes

  • Ensure proper command permissions.
  • Designed for Minecraft version 1.20 and newer.

Modrinth is open source.

fix-window-open@1656e14

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.