Package net.minecraft.src
Class Packet23VehicleSpawn
java.lang.Object
net.minecraft.src.Packet
net.minecraft.src.Packet23VehicleSpawn
-
Field Summary
FieldsModifier and TypeFieldDescriptionintEntity ID of the object.intThe pitch in steps of 2p/256intNot sent if the thrower entity ID is 0.intNot sent if the thrower entity ID is 0.intNot sent if the thrower entity ID is 0.int0 if not a fireball.intThe type of object.intThe X position of the object.intThe yaw in steps of 2p/256intThe Y position of the object.intThe Z position of the object.Fields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_98193_m, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize -
Constructor Summary
ConstructorsConstructorDescriptionPacket23VehicleSpawn(Entity par1Entity, int par2) Packet23VehicleSpawn(Entity par1Entity, int par2, int par3) -
Method Summary
Modifier and TypeMethodDescriptionintAbstract.voidprocessPacket(NetHandler par1NetHandler) Passes this Packet on to the NetHandler for processing.voidreadPacketData(DataInput par1DataInput) Abstract.voidwritePacketData(DataOutput par1DataOutput) Abstract.Methods inherited from class net.minecraft.src.Packet
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writeNBTTagCompound, writePacket, writeString
-
Field Details
-
entityId
public int entityIdEntity ID of the object. -
xPosition
public int xPositionThe X position of the object. -
yPosition
public int yPositionThe Y position of the object. -
zPosition
public int zPositionThe Z position of the object. -
speedX
public int speedXNot sent if the thrower entity ID is 0. The speed of this fireball along the X axis. -
speedY
public int speedYNot sent if the thrower entity ID is 0. The speed of this fireball along the Y axis. -
speedZ
public int speedZNot sent if the thrower entity ID is 0. The speed of this fireball along the Z axis. -
pitch
public int pitchThe pitch in steps of 2p/256 -
yaw
public int yawThe yaw in steps of 2p/256 -
type
public int typeThe type of object. -
throwerEntityId
public int throwerEntityId0 if not a fireball. Otherwise, this is the Entity ID of the thrower.
-
-
Constructor Details
-
Packet23VehicleSpawn
public Packet23VehicleSpawn() -
Packet23VehicleSpawn
-
Packet23VehicleSpawn
-
-
Method Details
-
readPacketData
Abstract. Reads the raw packet data from the data stream.- Specified by:
readPacketDatain classPacket- Throws:
IOException
-
writePacketData
Abstract. Writes the raw packet data to the data stream.- Specified by:
writePacketDatain classPacket- Throws:
IOException
-
processPacket
Passes this Packet on to the NetHandler for processing.- Specified by:
processPacketin classPacket
-
getPacketSize
public int getPacketSize()Abstract. Return the size of the packet (not counting the header).- Specified by:
getPacketSizein classPacket
-