Class Packet21PickupSpawn_b1_1_02
- java.lang.Object
-
- net.minecraft.src.Packet
-
- net.minecraft.packettrans.TranslationPacket
-
- net.minecraft.packettrans.protocol_b1_1_02.Packet21PickupSpawn_b1_1_02
-
public class Packet21PickupSpawn_b1_1_02 extends TranslationPacket
-
-
Field Summary
Fields Modifier and Type Field Description int
count
The number of items.int
entityId
Unique entity ID.int
itemID
byte
pitch
The item pitch.byte
roll
The item roll.byte
rotation
The item rotation.int
xPosition
The item X position.int
yPosition
The item Y position.int
zPosition
The item Z position.-
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 Packet21PickupSpawn_b1_1_02()
Packet21PickupSpawn_b1_1_02(ItemEntity var1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPacketSize()
Abstract.void
readPacketData(java.io.DataInputStream var1)
Abstract.void
writePacketData(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
-
-
-
-
Field Detail
-
entityId
public int entityId
Unique entity ID.
-
xPosition
public int xPosition
The item X position.
-
yPosition
public int yPosition
The item Y position.
-
zPosition
public int zPosition
The item Z position.
-
rotation
public byte rotation
The item rotation.
-
pitch
public byte pitch
The item pitch.
-
roll
public byte roll
The item roll.
-
itemID
public int itemID
-
count
public int count
The number of items.
-
-
Constructor Detail
-
Packet21PickupSpawn_b1_1_02
public Packet21PickupSpawn_b1_1_02()
-
Packet21PickupSpawn_b1_1_02
public Packet21PickupSpawn_b1_1_02(ItemEntity var1)
-
-
Method Detail
-
readPacketData
public void readPacketData(java.io.DataInputStream var1) throws java.io.IOException
Abstract. Reads the raw packet data from the data stream.- Specified by:
readPacketData
in classPacket
- Throws:
java.io.IOException
-
writePacketData
public void writePacketData(java.io.DataOutputStream var1) throws java.io.IOException
Abstract. Writes the raw packet data to the data stream.- Specified by:
writePacketData
in classPacket
- Throws:
java.io.IOException
-
getPacketSize
public int getPacketSize()
Abstract. Return the size of the packet (not counting the header).- Specified by:
getPacketSize
in classPacket
-
-