public class Packet102WindowClick extends Packet
| Modifier and Type | Field and Description |
|---|---|
short |
action
A unique number for the action, used for transaction handling
|
int |
holdingShift |
int |
inventorySlot
The clicked slot (-999 is outside of inventory)
|
ItemStack |
itemStack
Item stack for inventory
|
int |
mouseClick
1 when right-clicking and otherwise 0
|
int |
window_Id
The id of the window which was clicked.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize| Constructor and Description |
|---|
Packet102WindowClick() |
Packet102WindowClick(int par1,
int par2,
int par3,
int par4,
ItemStack par5ItemStack,
short par6) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPacketSize()
Abstract.
|
void |
processPacket(NetHandler par1NetHandler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(DataInputStream par1DataInputStream)
Abstract.
|
void |
writePacketData(DataOutputStream par1DataOutputStream)
Abstract.
|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeStringpublic int window_Id
public int inventorySlot
public int mouseClick
public short action
public ItemStack itemStack
public int holdingShift
public Packet102WindowClick()
public Packet102WindowClick(int par1,
int par2,
int par3,
int par4,
ItemStack par5ItemStack,
short par6)
public void processPacket(NetHandler par1NetHandler)
processPacket in class Packetpublic void readPacketData(DataInputStream par1DataInputStream) throws IOException
readPacketData in class PacketIOExceptionpublic void writePacketData(DataOutputStream par1DataOutputStream) throws IOException
writePacketData in class PacketIOExceptionpublic int getPacketSize()
getPacketSize in class Packet