How can I make a chest Unbreakable in Minecraft?

How can I make a chest Unbreakable in Minecraft? - Close Up Shot of a Necklace

I have a 1.8 world for people to play in 'Survival' mode.

In this world is a chest, which is locked by a key (new 1.8 feature).

In theory, players should work hard elsewhere to obtain the key object, then they can open the chest and pillage the lovely, lovely loot.

In practice, they whack the chest with their pickaxe until it breaks, and pick up the loot from the kindling.

Is there a way to set 'unbreakable' on the Chest so that players canot do this? Alternatively, making broken chests NOT dump their contents would be acceptable. I don't want to install any mods to do this, though changing world settings, or even doing something complex with a command block is acceptable.

Possibly when 1.8 goes production it will only allow breaking of unlocked chests or will not dump contents of locked chests; however this is just speculation.



Best Answer

Instead of unlocking the chest that has the loot in it, make the key unlock a trapped chest that sends a redstone signal to a secret door, with the actual loot in another chest behind the door.




Pictures about "How can I make a chest Unbreakable in Minecraft?"

How can I make a chest Unbreakable in Minecraft? -
How can I make a chest Unbreakable in Minecraft? - Free stock photo of antique, art, bright
How can I make a chest Unbreakable in Minecraft? - Bombay Sapphire Dry Gin Bottle



How can I make my chest more protected?

Added locked chests. Locked chests exist as of this version. Like with locked chests in Java Edition, it emits light and decays over time. Unlike in Java Edition, it can be broken instantly.



how to make unbreakable blocks in minecraft using 1 command! (1.16.5+!)




More answers regarding how can I make a chest Unbreakable in Minecraft?

Answer 2

another Option could be to /kill all of the items that drop in the area..

on a "/setblock clock" or a "/fill clock" put the following command

/kill @e[type=item,r=5]

this will clear all items the moment the chest is broken leaving the player in the gamemode that they were already in...

the drawback to this is if a player throws an item while close to the chest they will lose it... (though it is a small area)

then to improve the idea check out this Video for a way to keep the items safe! Although you may want to take the signal from the trapped chest to temporarily disable the fill clock or (as in the video) repeating command block

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Alina Blumberg, Geometric Photography, Susanne Jutzeler, suju-foto, Ivo Duarte Nogueira