Class Packet5PlayerInventory_b1_1_02
- java.lang.Object
-
- net.minecraft.src.Packet
-
- net.minecraft.packettrans.TranslationPacket
-
- net.minecraft.packettrans.protocol_b1_1_02.Packet5PlayerInventory_b1_1_02
-
public class Packet5PlayerInventory_b1_1_02 extends TranslationPacket
-
-
Field Summary
Fields Modifier and Type Field Description intentityIDEntity ID of the object.intitemIDEquipped item (-1 for empty slot).intslotEquipment slot: 0=held, 1-4=armor slot-
Fields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_48155_p, field_48156_n, field_48157_o, field_48158_m, isChunkDataPacket, packetClassToIdMap, packetIdToClassMap
-
-
Constructor Summary
Constructors Constructor Description Packet5PlayerInventory_b1_1_02()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPacketSize()Abstract.voidreadPacketData(java.io.DataInputStream var1)Abstract.voidwritePacketData(java.io.DataOutputStream var1)Abstract.-
Methods inherited from class net.minecraft.packettrans.TranslationPacket
processPacket
-
Methods inherited from class net.minecraft.src.Packet
getNewPacket, getNewPacket, getPacketId, readItemStack, readNBTTagCompound, readPacket, readString, writeItemStack, writeNBTTagCompound, writePacket, writeString
-
-
-
-
Method Detail
-
readPacketData
public void readPacketData(java.io.DataInputStream var1) throws java.io.IOExceptionAbstract. Reads the raw packet data from the data stream.- Specified by:
readPacketDatain classPacket- Throws:
java.io.IOException
-
writePacketData
public void writePacketData(java.io.DataOutputStream var1) throws java.io.IOExceptionAbstract. Writes the raw packet data to the data stream.- Specified by:
writePacketDatain classPacket- Throws:
java.io.IOException
-
getPacketSize
public int getPacketSize()
Abstract. Return the size of the packet (not counting the header).- Specified by:
getPacketSizein classPacket
-
-