Double chests unlocking
The bug
When a double chest is placed and both sides of the chest have a Lock tag, it stays locked. When one side is unlocked, the entire chest is still locked.
How to reproduce
- Place down a double chest.
- Run this command on both chests:
/data merge block x y z {Lock:"Test"} - Try to open the chest (should be locked)
- Run this command on ONE side of the double chest:
/data merge block x y z {Lock:""} - Try to open the chest again (stays locked)
Created Issue:
Double chests unlocking
When using the blockdata command to clear a lock from a single chest, it works fine. However if you make it a double chest, the chests will stay locked until only one chest is left to be unlocked.
- Unresolved
- Open
- Unconfirmed
- 14w02c blockdata bugglitch chest comma double lock minecraft
- 14w02c
!!!!!
This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming this is no longer an issue. If you are still experiencing this issue, we can reopen it at your request.
Trying to open locked double chest applies lock to other chestDouble chests unlocking
relates to
is duplicated by
When
using the blockdata command to clear a lock from a single chest, it works fine. However if you make it a double chest, the chests will stay locked until only one chest is left to be unlocked.When a double chest is placed and both sides of the chest have a Lock tag, it stays locked. When one side is unlocked, the entire chest is still locked.
To reproduce:
{Lock:"Test"}
Place down a double chest.
Run this command on both chests: /data merge block x y zTry to open the chest (should be locked)
{Lock:""}
Run this command on ONE side of the double chest: /data merge block x y zTry to open the chest again (stays locked)
When a double chest is placed and both sides of the chest have a Lock tag, it stays locked. When one side is unlocked, the entire chest is still locked.
To reproduce:
{Lock:"Test"}
Place down a double chest.
Run this command on both chests: /data merge block x y zTry to open the chest (should be locked)
{Lock:""}
Run this command on ONE side of the double chest: /data merge block x y zTry to open the chest again (stays locked)
The bug
When a double chest is placed and both sides of the chest have a Lock tag, it stays locked. When one side is unlocked, the entire chest is still locked.
How to reproduce
- Place down a double chest.
- Run this command on both chests:
/data merge block x y z {Lock:"Test"}- Try to open the chest (should be locked)
- Run this command on ONE side of the double chest:
/data merge block x y z {Lock:""}- Try to open the chest again (stays locked)
The bug
When a double chest is placed and both sides of the chest have a Lock tag, it stays locked. When one side is unlocked, the entire chest is still locked.
How to reproduce
- Place down a double chest.
- Run this command on both chests:
/data merge block x y z {Lock:"Test"}- Try to open the chest (should be locked)
- Run this command on ONE side of the double chest:
/data merge block x y z {Lock:""}- Try to open the chest again (stays locked)
The bug
When a double chest is placed and both sides of the chest have a Lock tag, it stays locked. When one side is unlocked, the entire chest is still locked.
How to reproduce
- Place down a double chest.
- Run this command on both chests:
/data merge block x y z {Lock:"Test"}- Try to open the chest (should be locked)
- Run this command on ONE side of the double chest:
/data merge block x y z {Lock:""}- Try to open the chest again (stays locked)
Probably duplicates MC-44718
A double chest is two tile entities next to each other, this needs some big-time programming on Mojang's part. So, not exactly a bug, but more a design flaw...
Clear the lock on both sides, then. Tile entities can only be in one block, not two.
@Mary Mary The Problem with your solution is that when one Chest Tile Entity is locked next to another one, the other one also becomes locked. So you unlock one and the next tick it is locked again.
Actually, double chests are kind of an ugly hack, and it is definitely possible for multiple blocks to use the same tile entity.
@Jar_ the lock has been introduced in the 1.8 snapshots, not 1.7
Sorry, forgot to update the version in my comment. Edited it, thank you.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
Sorry for creating unnecessary report updated messages. This is probably intended. If both parts of the double chest would keep their lock you might get strange results such as you could open the chest when clicking on the left but not the right part. There is a different bug that the way the Lock and CustomName is based on direction. I will create a report for that.
Confirmed for 1.13.1.
It's now (1.14.3 pre-release2) possible to unlock a double_chest:
Open double_chest (by aiming right or left) requires password before unlock.
Open double_chest (by aiming right or left) requires password before unlock.
Open double_chest (by aiming right or left) isn't possible before unlock.
19w40a
Confirmed in 1.16.1.
Can confirm in 20w48a.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Video attached.