mojira.dev
MC-183804

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

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:

[media]


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.

Linked issues

Attachments

Comments 0

No comments.

Aeldrion

(Unassigned)

Confirmed

(Unassigned)

20w20a

Retrieved