S2FPacketSetSlot
Last updated
Last updated
getWindowId(): int
Returns the ID of the window associated with the packet. This is an integer value representing the unique identifier of the window in which an action (such as an item click or movement) occurred.
getSlot(): int
Retrieves the slot number within the window where the action occurred. This is an integer value indicating the specific slot's position within the window.
getItemStack():
Returns an ItemStack
object representing the item stack involved in the action. This method provides the item stack data that is associated with the specific slot in the window.