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 Packet20NamedEntitySpawn

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

    public class Packet20NamedEntitySpawn

extends Packet

Field Summary
`int` | `currentItem` The current item the player is holding.
`int` | `entityId` The entity ID, in this case it's the player ID.
`String` | `name` The player's name.
`byte` | `pitch` The player's pitch.
`byte` | `rotation` The player's rotation.
`int` | `xPosition` The player's X position.
`int` | `yPosition` The player's Y position.
`int` | `zPosition` The player's Z position.

Fields inherited from class net.minecraft.src.Packet
`creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize`

Constructor Summary
`Packet20NamedEntitySpawn()`
`Packet20NamedEntitySpawn(EntityPlayer par1EntityPlayer)`

Method Summary
`List` | `func_73509_c()`
`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

  The entity ID, in this case it's the player ID.

### name

    public String name

  The player's name.

### xPosition

    public int xPosition

  The player's X position.

### yPosition

    public int yPosition

  The player's Y position.

### zPosition

    public int zPosition

  The player's Z position.

### rotation

    public byte rotation

  The player's rotation.

### pitch

    public byte pitch

  The player's pitch.

### currentItem

    public int currentItem

  The current item the player is holding.

Constructor Detail

### Packet20NamedEntitySpawn

    public Packet20NamedEntitySpawn()

### Packet20NamedEntitySpawn

    public Packet20NamedEntitySpawn(EntityPlayer par1EntityPlayer)

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`

### func_73509_c

    public List func_73509_c()

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