Get parent inventory of dropped item

How can i check if an item was dropped from player’s hotbar/ or just any other opened inventory.

dispense dropitemevent, nor EntitySpawnCause has no methods which could provide reference of the inventory, where item is/was located.

the method which i could use in my case - getOpenInventory() seems to not be implemted, since invoking throws AbstractMethodError.

If it’s anywhere, it’s probably in the cause somewhere. Have you tried checking there?

Yes i have. Its not present.

I’m thinking you’ll just have to wait it out unfortunately