Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269641

Under Lock and Key advancement does not check for vault key_item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 24w12a
    • Confirmed
    • Advancements

       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.

            Unassigned Unassigned
            sandro38 ff135
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: