S2FPacketSetSlot
getWindowId(): int
getWindowId(): intReturns 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
getSlot(): intRetrieves 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(): ItemStack
getItemStack(): ItemStackReturns 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.
Last updated