Minecraft / Data Packs

BlockLocker Datapack - Lock Anything You Like!

  • 5
  • 2
  • comment6
  • playlist_add
  • share
  • more_horiz
avatar DiamondPlayables
Level 35 : Artisan Crafter
- Have you ever wanted to make any block indestructible?
- Have you ever wanted to safeguard your items in your containers?
Introducing "BlockLocker" Datapack!
- Place an item frame, and add a sign called "Lock Me" and you'll have the option to lock your block! (Works on anything!) (Check image for more info)
Note: <click to see>
- If blocks are 2 or more blocks wide,you have to lock all blocks associated to it.
For example: A door is 2 blocks tall, you have to place the item frame and add the sign called "Lock Me" to the bottom block, then repeat the process to the top block for it to lock completely! (whichever order is fine, just do it one by one)
- Unlock the block by breaking it.
- You can check for the block's owner by using /trigger commands!
How to do it: <click to see>
- Use /trigger bl_info to see who is the block's owner playerID
(it won't say anything if you're the owner of the block)
- You can also use /trigger listid to see the player name that is linked with the playerID
(I know it's a long process but right now there is no other way to make it easier for you)

- Only you can break your locked block, other people cannot break your block by any means!
- Can be installed in combination with my other datapacks!
- Can be installed in multiplayer! (duuh)
How to uninstall BlockLocker completely:
- Use /function #main:remove (works with all my datapacks)
- Use /execute as @e[tag=blocklocked] run function blocklocker:terminate at the areas that you've locked the chests.
- If in a multiplayer server: You need to travel to everywhere that all the players have been and use the command at Line 2.
Progress100% complete
Game VersionMinecraft 1.13

1 Update Logs

Update #1 : 02/09/2019 9:59:13 pmFeb 9th

Bugfix: Spelling Mistakes!

Comments : 6

star Login or register to post a comment.

Show Comments

1 - 6 of 6

everything works except when i lock door or chest my friend can access it too. It also doesnt show the owner of block when either of us type in the command
Look away from the chest or any block you're locking. Your friend can't open it at that time.
When you're looking into the chest. it removes the blocklock status so that you can open it - which is why I have a warning stating that "other players can open the chest when you're using it"
it doesnt seem to be working. am i doing something wrong? has the datapack been updated recently?
Be sure to open the .zip file and drag the first thing you see to the datapacks folder. Works for all my datapacks
  • Uy55FR
  • Level 1
  • New Miner
  • February 10, 2019, 3:54 am
[ Onwer ID Info ]
Bug is fixed, not the image tho

1 - 6 of 6

Show Comments

Planet Minecraft



© 2010 - 2019