-
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.
- duplicates
-
MC-183801 Several block actions do not trigger the "minecraft:item_used_on_block" advancement trigger
- Open