Minecraft Blogs

Minecraft : How to lock a chest using no plugins or mods

  • 5
  • 3
  • 11
avatar Wertusk
Level 43 : Master Pirate
8
Introduction.
Hello guys,Wertusk here.
So i have been offline for some time now but now i am finally
back with a minecraft command tutorial.

So chests have been in the game since the beginning of minecraft but
there was no way to lock them whiout modding the game or use plugins.
Now with 1.8's features we can lock chests for our mapmaking
purposes.I have no knowledge of how to be a great mapmaker so i have
retired my responsibilities on The Desert Survival.

How to lock a chest.
So now i am going to talk about locking and unlocking chests.
When you unlok a chest,the chest will have to be unlocked with
an item that has a specific name.You can either use this with the
/give command or you can always use an anvil as a simpler way to name
an item that you have.
The command used to lock a chest is the command below.
/blockdata ~ ~ ~ {Lock:"(LockNameGoesHere)"}
You can name the lock with any name you wish but after you do please remove the () so the command
will work.
Please replace the ~ ~ ~ with coordinates of the chest so the command will function.

Thanks for reading!
Thank you for reading guys and i do hope this command Tutorial will help
you in your mapmaking purposes,that is all i am going to share with you
for today and goodbye!
Tags

1
02/03/2018 8:50 pm
Level 1 : New Miner
AllDragonsFriend
Thx♥
1
11/03/2015 11:12 am
Level 30 : Artisan Engineer
Daniel_Edits
Interesting, even if the chest is locked, you can still break it to get the items out of the chest!  This can be a bug that hasen't been reported or it is just 1.8.8!  Just an interesting fact!
1
12/16/2015 9:00 am
Level 43 : Master Pirate
Wertusk
Well that might not happen since this concept is usually only used in Adventure maps where players are in adventure mode. :D
1
09/05/2015 7:48 am
Level 5 : Apprentice Miner
Redcodi
ALL YOU PEEPS HAVE TO DO IS GO INTO MC PLACE DOWN A CHEST STAND ON IT AND TYPE THE COMMAND

/blockdata ~ ~-1 ~ {Lock:"KEY NAME HERE"}

CONTROL C  [COPY]
CONTROL V  [PASTE]
AND DONE
1
01/27/2015 6:31 pm
Level 13 : Journeyman Narwhal
WigglyPuff
Are you kidding me? You expect me to type a command? Jeez. Mojang really is starting to collapse...

Nice Blog <3
1
12/16/2015 9:01 am
Level 43 : Master Pirate
Wertusk
:)
1
12/08/2014 12:24 pm
Level 14 : Journeyman Network
Akki Shu
OO
Too much work, but thanks for the advice anyway!
1
10/02/2014 1:07 pm
Level 25 : Expert Lumberjack
Remynfv
Woooooww... Ok. Fine. Copier...
1
10/03/2014 6:27 am
Level 43 : Master Pirate
Wertusk
Copier? What do you mean?
1
10/03/2014 1:05 pm
Level 25 : Expert Lumberjack
Remynfv
Maybe just a coincidence but I posted a lock chests tutorial a few hours before you did...
1
10/04/2014 2:07 am
Level 43 : Master Pirate
Wertusk
Well i guess it could be just a coincidence well anyway..
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome