public class Packet103SetSlot extends Packet
| Modifier and Type | Field and Description |
|---|---|
int |
itemSlot
Slot that should be updated
|
ItemStack |
myItemStack
Item stack
|
int |
windowId
The window which is being updated.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize| Constructor and Description |
|---|
Packet103SetSlot() |
Packet103SetSlot(int par1,
int par2,
ItemStack par3ItemStack) |
| 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 windowId
public int itemSlot
public ItemStack myItemStack
public Packet103SetSlot()
public Packet103SetSlot(int par1,
int par2,
ItemStack par3ItemStack)
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