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(EntityLivingBase par1EntityLivingBase) |
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(DataInput par1DataInput)
Abstract.
|
void |
writePacketData(DataOutput par1DataOutput)
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(EntityLivingBase par1EntityLivingBase)
public void readPacketData(DataInput par1DataInput) throws IOException
readPacketData
in class Packet
IOException
public void writePacketData(DataOutput par1DataOutput) 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()