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
|
toNMS
public 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()
WrappedPacket
getVanillaPacket
in class WrappedPacket
public void loadVanillaPacket(java.lang.Object packet)
WrappedPacket
loadVanillaPacket
in class WrappedPacket
packet
- - The loadable packet