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(DataInput par1DataInput)
Abstract.
|
void |
writePacketData(DataOutput par1DataOutput)
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(DataInput par1DataInput) throws IOException
readPacketData in class PacketIOExceptionpublic void writePacketData(DataOutput par1DataOutput) throws IOException
writePacketData in class PacketIOExceptionpublic int getPacketSize()
getPacketSize in class Packet