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

"loot" reward for advancements does not provide items

XMLWordPrintable

    • Community Consensus

      Given the example advancement, placed in world/data/advancements/custom/test.json:

      {
          "criteria": {
              "findme": {
                  "trigger": "minecraft:impossible"
              }
          },
          "rewards": {
              "loot": ["custom:test"]
          }
      }
      

      And the following commands to grant and revoke it at will (see MC-115064 for namespace issue):

      /advancement grant @p minecraft:custom/test
      /advancement revoke @p minecraft:custom/test

      Assuming the loot table exists, no items are provided and no errors occur. If the loot table doesn't exist, an error will occur as expected.

            dinnerbone [Mojang] Nathan Adams
            skylinerw [Mod] Skylinerw
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: