Represents a packet that is sent when an item slot changes in a container
Packet
getItemStack(): ItemStack
ItemStack
Gets the new ItemStack in the slot
Returns
The ItemStack object
getPacketID(): string
string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
getSlot(): number
number
Gets the slot number that was changed
The slot number
getWindowId(): number
Gets the ID of the window containing the slot
The window ID
Last updated 3 months ago