S09PacketHeldItemChange

getHeldItemHotbarIndex(): int

Returns the hotbar index of the currently held item as dictated by this packet. This is an integer value indicating the hotbar slot index (ranging from 0 to 8) where the new active item is located.

Last updated