public class Packet34EntityTeleport extends Packet
| Modifier and Type | Field and Description |
|---|---|
int |
entityId
ID of the entity.
|
byte |
pitch
Pitch of the entity.
|
int |
xPosition
X position of the entity.
|
byte |
yaw
Yaw of the entity.
|
int |
yPosition
Y position of the entity.
|
int |
zPosition
Z position of the entity.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize| Constructor and Description |
|---|
Packet34EntityTeleport() |
Packet34EntityTeleport(Entity par1Entity) |
Packet34EntityTeleport(int par1,
int par2,
int par3,
int par4,
byte par5,
byte par6) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSameEntityIDAs(Packet par1Packet)
eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet
class
|
int |
getPacketSize()
Abstract.
|
boolean |
isRealPacket()
only false for the abstract Packet class, all real packets return true
|
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, getNewPacket, getPacketId, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeStringpublic int entityId
public int xPosition
public int yPosition
public int zPosition
public byte yaw
public byte pitch
public Packet34EntityTeleport()
public Packet34EntityTeleport(Entity par1Entity)
public Packet34EntityTeleport(int par1,
int par2,
int par3,
int par4,
byte par5,
byte par6)
public void readPacketData(DataInput par1DataInput) throws IOException
readPacketData in class PacketIOExceptionpublic void writePacketData(DataOutput par1DataOutput) throws IOException
writePacketData in class PacketIOExceptionpublic void processPacket(NetHandler par1NetHandler)
processPacket in class Packetpublic int getPacketSize()
getPacketSize in class Packetpublic boolean isRealPacket()
isRealPacket in class Packetpublic boolean containsSameEntityIDAs(Packet par1Packet)
containsSameEntityIDAs in class Packet