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

Clicking on a redstone ore does not trigger the "minecraft:item_used_on_block" advancement trigger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w20a
    • None
    • Confirmed
    • (Unassigned)

      Edit: I merged this issue to MC-183801.

      Clicking on a redstone ore does not trigger the minecraft:item_used_on_block advancement trigger, even though you can see the use arm animation.

      How to reproduce:

      1. Create the following advancement, and save it as mojira:use_item

      {
        "criteria": {
          "used": {
            "trigger": "minecraft:item_used_on_block"
          }
        },
        "rewards": {
          "function": "mojira:item_used"
        }
      }
      

      2. Create the following function, and save it as mojira:item_used

      advancement revoke @s only mojira:use_item
      say An item was used
      

      Alternatively, install the attached datapack: MC-183804 data pack.zip
      A message is now sent in chat every time the item_used_on_block trigger triggers.
      3. Click on a redstone ore. Your arm animates, but no message appears.

            Unassigned Unassigned
            Aeldrion Aeldrion
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: