Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Class Packet21PickupSpawn

    java.lang.Object
      net.minecraft.src.Packet
          net.minecraft.src.Packet21PickupSpawn

    public class Packet21PickupSpawn

extends Packet

Field Summary
`int` | `entityId` Unique entity ID.
`ItemStack` | `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, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize`

Constructor Summary
`Packet21PickupSpawn()`
`Packet21PickupSpawn(EntityItem par1EntityItem)`

Method Summary
`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.

Methods inherited from class net.minecraft.src.Packet
`containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, isWritePacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

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 ItemStack itemID

Constructor Detail

### Packet21PickupSpawn

    public Packet21PickupSpawn()

### Packet21PickupSpawn

    public Packet21PickupSpawn(EntityItem par1EntityItem)

Method Detail

### readPacketData

    public void readPacketData(DataInputStream par1DataInputStream)
                        throws IOException

  Abstract. Reads the raw packet data from the data stream.

  Specified by:
    `readPacketData` in class `Packet`
  Throws:
    `IOException`

### writePacketData

    public void writePacketData(DataOutputStream par1DataOutputStream)
                         throws IOException

  Abstract. Writes the raw packet data to the data stream.

  Specified by:
    `writePacketData` in class `Packet`
  Throws:
    `IOException`

### processPacket

    public void processPacket(NetHandler par1NetHandler)

  Passes this Packet on to the NetHandler for processing.

  Specified by:
    `processPacket` in class `Packet`

### getPacketSize

    public int getPacketSize()

  Abstract. Return the size of the packet (not counting the header).

  Specified by:
    `getPacketSize` in class `Packet`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD