|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.network.packet.Packet
net.minecraft.network.packet.Packet24MobSpawn
public class Packet24MobSpawn
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.network.packet.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.network.packet.Packet |
---|
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, 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 |
---|
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
Constructor Detail |
---|
public Packet24MobSpawn()
public Packet24MobSpawn(EntityLiving par1EntityLiving)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |