banner



How To Lock Your Chest Minecraft

How to Add a Lock to a Chest in Minecraft

This Minecraft tutorial explains how to add together a lock to a chest then that the chest tin only be opened if the actor is holding an detail with a specific name.

locked chest

Let'south explore how to practice this in Minecraft.

Supported Platforms

The control to add a lock to a breast is available in the following versions of Minecraft:

Platform Supported (Version*)
Java Edition (PC/Mac) Java Edition (PC/Mac) Aye (one.8)
Pocket Edition (PE) Pocket Edition (PE) No
Xbox 360 Xbox 360 No
Xbox One Xbox One No
PS3 PS3 No
PS4 PS4 No
Wii U Wii U No
Nintendo Switch Nintendo Switch No
Windows 10 Edition Windows 10 Edition No
Education Edition Education Edition No

* The version that information technology was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We volition continue to prove them individually for version history.

Requirements

To run game commands in Minecraft, you lot have to turn cheats on in your world.

Command to Add a Lock to a Chest

TIP: Utilize our command generators to create an item with a custom name so that you can open up the locked chest!

Examples

How to Enter the Command

i. Open the Conversation Window

The easiest way to run a control in Minecraft is inside the chat window. The game control to open the chat window depends on the version of Minecraft:

  • For Java Edition (PC/Mac), press the T key to open the chat window.

2. Blazon the Command

In this case, we are going to add a lock to a chest found at coordinates (32, 73, -199). We want to ready the secret passcode to "DigMinecraft" so that only a histrion property an item that is named "DigMinecraft" can open up the chest.

Nosotros can add the lock to the chest with the following command in Minecraft Java Edition (PC/Mac) ane.thirteen:

/information merge block 32 73 -199 {Lock:"DigMinecraft"}

Blazon the command in the chat window. As yous are typing, you will see the command announced in the lower left corner of the game window. Press the Enter central to run the command.

add lock to chest

Once the cheat has been entered, you will see the message "Modified block information of 32, 73, -199" appear in the lower left corner of the game window to signal that the chest has been successfully locked.

add lock to chest

Now if you try to open the chest without holding an particular that is named "DigMinecraft", you will see the message "Chest is locked! appear in the game window.

add lock to chest

Congratulations, yous accept learned how to lock a chest with a secret passcode in Minecraft.

Other Things to Do with Chests

Here are some other activities that y'all tin can practice with chests in Minecraft:

How To Lock Your Chest Minecraft,

Source: https://www.digminecraft.com/game_commands/add_lock_to_chest.php

Posted by: campbelltrailtoo.blogspot.com

0 Response to "How To Lock Your Chest Minecraft"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel