Get SlotPos from Slot?

How to obtain the position of a Slot inside his grid ?

You can use Inventory#getProperties, and pass in SlotPos.class

So I should call slot.parent().getProperties(slot, SlotPos.class) ?

No, you should be able to call that on the slot directly.

Sorry to revive this topic, I can retrieve a SlotIndex from a Slot but I still can’t retrieve a SlotPos even if the Slot is in a GridInventory. It might be an issue I think.