-
Bug
-
Resolution: Works As Intended
-
None
-
1.20.6
-
Confirmed
-
(Unassigned)
Locked chests by minecraft:lock component cannot be opened using items renamed by minecraft:item_name component.
To reproduce:
- Run the following two commands:
- /give @s minecraft:stick[minecraft:item_name="example"]
- /give @s minecraft:chest[minecraft:lock="example"]
- Place the chest.
- 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)
- is duplicated by
-
MC-274748 The item_name component can't match the lock component
- Resolved