public class Packet23VehicleSpawn extends Packet
Modifier and Type | Field and Description |
---|---|
int |
entityId
Entity ID of the object.
|
int |
pitch
The pitch in steps of 2p/256
|
int |
speedX
Not sent if the thrower entity ID is 0.
|
int |
speedY
Not sent if the thrower entity ID is 0.
|
int |
speedZ
Not sent if the thrower entity ID is 0.
|
int |
throwerEntityId
0 if not a fireball.
|
int |
type
The type of object.
|
int |
xPosition
The X position of the object.
|
int |
yaw
The yaw in steps of 2p/256
|
int |
yPosition
The Y position of the object.
|
int |
zPosition
The Z position of the object.
|
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize
Constructor and Description |
---|
Packet23VehicleSpawn() |
Packet23VehicleSpawn(Entity par1Entity,
int par2) |
Packet23VehicleSpawn(Entity par1Entity,
int par2,
int par3) |
Modifier and Type | Method and Description |
---|---|
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 xPosition
public int yPosition
public int zPosition
public int speedX
public int speedY
public int speedZ
public int pitch
public int yaw
public int type
public int throwerEntityId
public Packet23VehicleSpawn()
public Packet23VehicleSpawn(Entity par1Entity, int par2)
public Packet23VehicleSpawn(Entity par1Entity, int par2, int par3)
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