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)
Linked issues
is duplicated by 1
relates to 1
Attachments
Comments 19
@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.
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...