Mojira Archive
MC-269641

Under Lock and Key advancement does not check for vault key_item

 The bug

Using a Trial Key on a Vault that has been modified to require a different item as a key will still grant the advancement Under Lock and Key. Similarly, the advancement is not granted when the vault is unlocked by a non-default key_item.

To reproduce

*Execute these commands in the following order:

/advancement revoke @p everything
/setblock ~1 ~ ~ vault{config: {key_item:
{count: 1, id:"minecraft:dirt"}}}
/give @p trial_key
  • Try unlocking the vault using the key.

Observed result

The advancement Under Lock and Key is granted.

Won't Fix

ff135

2024-03-20, 04:32 PM

2024-03-27, 09:21 PM

2024-03-21, 08:25 AM

1

1

Confirmed

Advancements

Advancements, Vault

24w12a

-