Mojira Archive
MC-44632

Lock NBT tag does not prevent any hopper mechanics

When I decided to test some locked chests, I noticed that a hopper both going in and taking items from a chest with the

{Lock:"My lock"}

tag, don't get blocked by the lock. This removes much useful functionality since hoppers could easily take and steal items from these locked chests.

What I expected to see:
No items being transferred, possibly items would be transferred into hoppers that shared the same

{Lock:"My Lock"}

.

What I saw:
Items were transfered and not blocked in any way, any hopper could change the container.

Steps to reproduce:
Take a container that can be locked, use

/setblock ~ ~ ~ chest 0 replace {Lock:"My Lock"}

Put a hopper above and underneath the chest.

Put items in the top hopper

Watch them flow into the bottom hopper, passing through the chest just fine.

Works As Intended

Starbuck Johnson

[Mojang] Searge (Michael Stoyke)

2014-01-11, 04:34 PM

2021-07-24, 07:36 AM

2014-03-12, 09:43 PM

1

4

Unconfirmed

Minecraft 14w02c, Minecraft 14w10c

-