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

minecraft:killed_by_crossbow advancement trigger does not work correctly in custom advancements

XMLWordPrintable

    • Unconfirmed

      The new advancement trigger "minecraft:killed_by_crossbow" does not appear to work correctly when using it for custom advancements. While vanilla advancements that use it (namely, "Who's the Pillager Now", "Two Birds, One Arrow" and "Arbalistic") work properly, if you try to create a custom advancement or modify the vanilla advancements to use the trigger, even if you use the exact same json file but in a datapack, it does not work at all.

       

      For example, if you have criteria with code simply as follows:

      "criteria": { 
          "crossbow": { 
              "trigger": "minecraft:killed_by_crossbow" 
          }
      }
      

      Then kill any mob by shooting it with a crossbow, notice you do not get the advancement.

       

            Unassigned Unassigned
            Cavinator1 Cavinator 1
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: