Data Packs Game Mechanic

[Needs Fixing] Trial Key Lock Containers

  • 2.5k views 2 today
  • save_alt 123 downloads
Compatibility
Minecraft 1.20
Changes include
  • Functions
  • 15
  • 15
  • 6
SLT World
Lvl 47Master System
21

A simple datapack that locks containers with the new 1.21 trial keys




You can use the trial key to lock container blocks
Container blocks include chests, barrels, all similar furnaces, brewing stands, dispensers and droppers


How to use it




- Rename the key in an anvil


[​Locking it]

- Drop the key on a "not-locked" container block.

- If it succeeds, it will show a green particle.

- Now the chest can only be opened with the same key in hand (No one will never know your key's name unless you show them)


[​De-locking/Removing the lock on the chest]

- Drop the same key for the chest on the locked container block

- If it succeeds in unlocking, it will show a white particle

- Now the chest can be opened by anyone again


Made in just 1 and a half hour

More like this

  Have something to say?

StupidXDR1976
12/27/2023 5:20 am
Level 1 : New Miner
Please SLT World I LIke All Your Datapacks PLease Add Redstone Monstrosity
1
SLT World
12/28/2023 1:17 am
He/Him • Level 47 : Master System
Yes I'm currently working with someone to add the Redstone Monstrosity & Obsidian Monstrosity
1
User3326699G
11/14/2023 4:57 pm
Level 1 : New Miner
Can I lock doors with this?
1
SLT World
11/15/2023 11:59 am
He/Him • Level 47 : Master System
Nope, doors aren't lockable with this datapack yet. I would look into it in the future though.
1
White_145
11/09/2023 5:02 am
Level 50 : Grandmaster Programmer Programmer
wrong video?
1
SLT World
11/09/2023 7:14 am
He/Him • Level 47 : Master System
Oops fixed it.
1

Welcome