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:
- Create an advancement that has the "item_used_on_block" trigger
- Do /reload and wait
- Check that the created advancement exists
- 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
Created Issue:
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:
- Create an advancement that has the "item_used_on_block" trigger
- Check that the created advancement exists
- Right click with shears in your hand on a pumpkin
Note: I changed the checked block ("minecraft:pumpkin") to "minecraft:chest" and it worked
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:
- Create an advancement that has the "item_used_on_block" trigger
- Do /reload and wait
- Check that the created advancement exists
- Right click with shears in your hand on a pumpkin
Note: I changed the checked block ("minecraft:pumpkin") to "minecraft:chest" and it worked
duplicates





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.
Good catch
Thank you user-a4a49 for the workaround. Sorry for the duplicate.
You are welcome!