public class Packet24MobSpawn extends Packet
Modifier and Type | Field and Description |
---|---|
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.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize
Constructor and Description |
---|
Packet24MobSpawn() |
Packet24MobSpawn(EntityLiving par1EntityLiving) |
Modifier and Type | Method and Description |
---|---|
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.
|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeString
public int entityId
public int type
public int xPosition
public int yPosition
public int zPosition
public int velocityX
public int velocityY
public int velocityZ
public byte yaw
public byte pitch
public byte headYaw
public Packet24MobSpawn()
public Packet24MobSpawn(EntityLiving par1EntityLiving)
public void readPacketData(DataInputStream par1DataInputStream) throws IOException
readPacketData
in class Packet
IOException
public void writePacketData(DataOutputStream par1DataOutputStream) throws IOException
writePacketData
in class Packet
IOException
public void processPacket(NetHandler par1NetHandler)
processPacket
in class Packet
public int getPacketSize()
getPacketSize
in class Packet
public List getMetadata()