mojira.dev
MC-185444

Carving a pumpkin using shears doesn't activate advancement trigger item_used_on_block

What I expected to happen was....

Getting the advancement I made after I use shears on the pumpkin block

What actually happened was....

Getting no advancement, even if it does exist

Steps to reproduce:

  1. Create an advancement that has the "item_used_on_block" trigger

  2. Do /reload and wait

  3. Check that the created advancement exists

  4. Right click with shears in your hand on a pumpkin

Note: I changed the checked block ("minecraft:pumpkin") to "minecraft:chest" and it worked

Linked issues

Attachments

Comments 4

Duplicate of MC-184263.

As a workaround for the bug, minecraft:pumpkin should be replaced with minecraft:carved_pumpkin since the advancement trigger checks after the item is used on the block rather than before it is done.

Thank you @unknown for the workaround. Sorry for the duplicate.

user-16d15

(Unassigned)

Unconfirmed

(Unassigned)

block, item

20w21a

Retrieved