mojira.dev
MC-171996

Advancement trigger inventory_changed can't consider multiple slots

The Bug

Advancement trigger inventory_changed can't consider multiple slots, so if you have an advancement where you must collect 5 feathers, but you have 3 feathers in one inventory slot and 2 in another, it won't trigger. This also makes it impossible to trigger advancements where you must collect more items than the stack size will allow you to fit into 1 slot.

How to Reproduce

Download Paint's Bug Tester Datapack (attached), there are many advancements on there, but the only one for this bug is "17 eggs", where you must collect 17 eggs, but it's impossible to trigger.

Linked issues

Attachments

Comments 0

No comments.

Paint

(Unassigned)

Confirmed

Advancements

1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, ..., 20w28a, 1.16.2, 20w48a, 1.20.2, 1.21.4

Retrieved