Mojira Archive
MC-271288

Locked chests cannot be opened using items renamed with the item_name

Locked chests by minecraft:lock component cannot be opened using items renamed by minecraft:item_name component.

To reproduce:

  1. Run the following two commands:
    • /give @s minecraft:stick[minecraft:item_name="example"]
    • /give @s minecraft:chest[minecraft:lock="example"]
  2. Place the chest.
  3. Hold the stick and interact with the chest.

It should be able to open, but it stays locked and will not open.

 

(I'm sorry if I’m wrong, as English isn't my first language)

Works As Intended

Shambis

2024-04-30, 11:53 AM

2024-07-29, 09:46 AM

2024-05-02, 07:21 AM

2

1

Confirmed

(Unassigned)

command

1.20.6

-