Packet sent when changing held item slot
Packet
new C09PacketHeldItemChange(slotId): C09PacketHeldItemChange
slotId
C09PacketHeldItemChange
Creates a new C09PacketHeldItemChange packet
Parameters
number
slotId - The slot ID to change to (0-8)
Returns
Overrides
Packet.constructor
getPacketID(): string
string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
getSlotId(): number
Gets the selected slot ID
The selected slot ID (0-8)
setSlotId(slotId): void
void
Sets the selected slot ID
slotId - The new slot ID to select (0-8)
Last updated 3 months ago