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

    • 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.

          [MC-269641] Under Lock and Key advancement does not check for vault key_item

          Thank you for your report!
          After consideration, the issue is being closed as Won't Fix.

          Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

          Quick Links:
          ๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues)
          ๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

          [Mojang] Triage Team added a comment - Thank you for your report! After consideration, the issue is being closed as Won't Fix . Please note that this is not the same as Working as Intended , as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base. Quick Links : ๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues) ๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

          Similarly, it is not granted when it should if the key item is not a trial key.

          [Mod] ampolive added a comment - Similarly, it is not granted when it should if the key item is not a trial key.

          ff135 added a comment -

          use this command: /setblock ~ ~ ~ vault{config: {key_item:

          {count: 1, id:"minecraft:dirt"}

          }}

          trial key will not open this vault, but the advancement will still be granted.

          ff135 added a comment - use this command: /setblock ~ ~ ~ vault{config: {key_item: {count: 1, id:"minecraft:dirt"} }} trial key will not open this vault, but the advancement will still be granted.

          Please attach a datapack to help reproduce this issue.

          [Mod] Greymagic27 added a comment - Please attach a datapack to help reproduce this issue.

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

              Created:
              Updated:
              Resolved:
              CHK: