|
||||||||||
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.Packet20NamedEntitySpawn
public class Packet20NamedEntitySpawn
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.network.packet.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.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 String name
public int xPosition
public int yPosition
public int zPosition
public byte rotation
public byte pitch
public int currentItem
Constructor Detail |
---|
public Packet20NamedEntitySpawn()
public Packet20NamedEntitySpawn(EntityPlayer par1EntityPlayer)
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 func_73509_c()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |