public class PacketPlayInWindowClick extends WrappedPacket
| Modifier and Type | Field and Description |
|---|---|
short |
actionNumber |
int |
button |
InventoryClickType |
clickType |
ItemStackWrapper |
item |
int |
slot |
int |
windowId |
| Constructor and Description |
|---|
PacketPlayInWindowClick() |
PacketPlayInWindowClick(int windowId,
int slot,
int button,
short actionNumber,
ItemStackWrapper item,
InventoryClickType clickType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getVanillaPacket()
Converts this wrapped packet to a Vanilla/NMS packet
|
void |
loadVanillaPacket(java.lang.Object packet)
Loads a Vanilla/NMS packet to this wrapper
|
toNMSpublic short actionNumber
public int button
public InventoryClickType clickType
public ItemStackWrapper item
public int slot
public int windowId
public PacketPlayInWindowClick()
public PacketPlayInWindowClick(int windowId,
int slot,
int button,
short actionNumber,
ItemStackWrapper item,
InventoryClickType clickType)
public java.lang.Object getVanillaPacket()
WrappedPacketgetVanillaPacket in class WrappedPacketpublic void loadVanillaPacket(java.lang.Object packet)
WrappedPacketloadVanillaPacket in class WrappedPacketpacket - - The loadable packet