mojira.dev
MC-117540

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

  1. Put the items required to craft a stone pickaxe in your inventory

  2. Revoke the "Getting an Upgrade" advancement

    /advancement revoke @s only minecraft:story/upgrade_tools
  3. Right click a crafting table and craft a stone pickaxe
    → The advancement is not made until you close your inventory

Linked issues

Comments 3

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-117653 because it has more information

Tyler Macheledt

(Unassigned)

Confirmed

advancement, advancement-trigger, inventory, inventory_changed, recipe, recipe-book

Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4

Retrieved