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

"/advancement" command does not support granting/revoking criteria containing "minecraft:"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.13
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      For example, the vanilla advancement "Monsters Hunted" contains a criteria called "minecraft:zombie".

      Attempting to grant or revoke this criteria results in the following error:

      Expected whitespace to end one argument, but found trailing data at position 73: ... minecraft<--[HERE]
      

      If you remove the "minecraft:" from the command, you get

      The advancement [Monsters Hunted] does not contain the criterion 'zombie'
      

      This also affects the vanilla advancements "Adventuring Time" and "Two by Two",

      To reproduce:

      • Start a new world
      • run "/advancement grant @p only minecraft:adventure/kill_all_mobs minecraft:zombie

      Probably related to the fix of MC-124048

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              lapppy Jono
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: