it returns Y X ordered (Top->Bottom, Left->Right) actual slot number even if its shuffled for some reason.
Also works for player Inventory GUI (except cursor / offhand slot, that's mojang's hack), i.e. crafting slots and armors.
Not works for creative inventory since its not actually handled screen.
it returns Y X ordered (Top->Bottom, Left->Right) actual slot number even if its shuffled for some reason. Also works for player Inventory GUI (except cursor / offhand slot, that's mojang's hack), i.e. crafting slots and armors. Not works for creative inventory since its not actually handled screen.