Mojira Archive
MC-102239

Chest will only unlock with renamed items but not with regular items of same name

When you lock a chest (using /blockdata ~ ~ ~ {Lock:"<name of item to unlock chest>"}), the chest is supposed to unlock whenever you right click it with the proper item name. Let's pretend the item name to unlock the chest is "Leather". If I rename anything to "Leather" and try to open the chest, it will work. However, if I just give myself a normal piece of leather without and NBT tags, the chest will not open itself. Check the video attached for more information.

EDIT: So, I tried opening the attachment and it wouldn't work for me. Not sure if it is just me or what, but here is a youtube link incase you can't see it either: https://www.youtube.com/watch?v=k1uRAUhKiLQ

Works As Intended

Alex Baker

Maria Lemón

2016-05-20, 02:10 AM

2016-10-14, 12:05 PM

2016-10-14, 12:05 PM

0

3

Confirmed

Minecraft 1.9.2 - Minecraft 16w32bMinecraft 1.9.2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b

-