forceHeldSlot
Forces the player's held item slot to the specified index via a packet.
Parameters
slot
The hotbar slot index (0–8) to force.
Forces the player's held item slot to the specified index via a packet.
The hotbar slot index (0–8) to force.