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 Packet24MobSpawn

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

    public class Packet24MobSpawn

extends Packet

Field Summary
`int` | `entityId` The entity ID.
`byte` | `headYaw` The yaw of the entity's head.
`byte` | `pitch` The pitch of the entity.
`int` | `type` The type of mob.
`int` | `velocityX`
`int` | `velocityY`
`int` | `velocityZ`
`int` | `xPosition` The X position of the entity.
`byte` | `yaw` The yaw of the entity.
`int` | `yPosition` The Y position of the entity.
`int` | `zPosition` The Z position of the entity.

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

Constructor Summary
`Packet24MobSpawn()`
`Packet24MobSpawn(EntityLiving par1EntityLiving)`

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

### type

    public int type

  The type of mob.

### xPosition

    public int xPosition

  The X position of the entity.

### yPosition

    public int yPosition

  The Y position of the entity.

### zPosition

    public int zPosition

  The Z position of the entity.

### velocityX

    public int velocityX

### velocityY

    public int velocityY

### velocityZ

    public int velocityZ

### yaw

    public byte yaw

  The yaw of the entity.

### pitch

    public byte pitch

  The pitch of the entity.

### headYaw

    public byte headYaw

  The yaw of the entity's head.

Constructor Detail

### Packet24MobSpawn

    public Packet24MobSpawn()

### Packet24MobSpawn

    public Packet24MobSpawn(EntityLiving par1EntityLiving)

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`

### getMetadata

    public List getMetadata()

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