mojira.dev
MC-183801

Several block actions do not trigger the "minecraft:item_used_on_block" advancement trigger

Some actions do not trigger the minecraft:item_used_on_block advancement trigger.

Affected actions:

  • Placing or picking up water/lava

  • Waterlogging blocks with a bucket

  • Interacting with redstone ore

  • Placing boats, lily pads, summoning mobs on water

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 data pack from MC-183804.

A message is now sent in chat every time the item_used_on_block trigger triggers.
3. Pick up water with an empty bucket.
No message appears.

Linked issues

Attachments

Comments 1

I say this knowing that this report is triaged, but this seems to be described in MC-259075 where it is far more maintained and up to date. May be a duplicate, and worth forward resolving.

Aeldrion

(Unassigned)

Confirmed

Platform

Low

Data Packs

20w20a, 1.16.2, 1.21

Retrieved