inventory_changed advancement trigger is not triggered for crafted items until you close your inventory
The bug
The inventory_changed advancement trigger is triggered when closing your inventory after crafting the respective item instead of being triggered instantly when you crafted the item and placed it in your inventory.
How to reproduce
- Put the items required to craft a stone pickaxe in your inventory
- Revoke the "Getting an Upgrade" advancement
/advancement revoke @s only minecraft:story/upgrade_tools
- Right click a crafting table and craft a stone pickaxe
→ The advancement is not made until you close your inventory
Linked Issues
Created Issue:
Advancements
If the advancement has to do with a crafting recipe (i.e. Craft Iron Armor, Craft Iron Pickaxe) The advancement will only trigger after you leave your inventory, rather than after you craft what is needed
Environment
Java Version
Java Version
AdvancementsNew recipes do not unlock until you close your inventory
Seems to be fixed in 1.12-pre3
New recipes do not unlockuntil you close your inventoryRecipe related advancements are not displayed until you close your inventory
If the advancement has to do with a crafting recipe (i.e. Craft Iron Armor, Craft Iron Pickaxe) The advancement will only trigger after you leave your inventory, rather than after you craft what is needed
The bug
The inventory_changed advancement trigger is triggered when closing your inventory after crafting the respective item instead of being triggered instantly when you crafted the item and placed it in your inventory.
How to reproduce
- Put the items required to craft a stone pickaxe in your inventory
- Revoke the "Getting an Upgrade" advancement
/advancement revoke @s only minecraft:story/upgrade_tools- Right click a crafting table and craft a stone pickaxe
→ The advancement is not made until you close your inventory
Recipe related advancements are not displayeduntil you close your inventoryinventory_changed advancement trigger is not triggered for crafted items until you close your inventory
is duplicated by
duplicates
is duplicated by
It looks like this is a problem with the inventory_changed trigger, sorry for the many update emails.
Hi, don't worry about the emails, I just tried in a prelease-4 world and it still happens.
Resolved as a duplicate of
MC-117653because it has more information