Package net.minecraft.src
Class Packet60Explosion
java.lang.Object
net.minecraft.src.Packet
net.minecraft.src.Packet60Explosion
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatdoubledoubledoubleFields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_98193_m, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize -
Constructor Summary
ConstructorsConstructorDescriptionPacket60Explosion(double par1, double par3, double par5, float par7, List par8List, Vec3 par9Vec3) -
Method Summary
Modifier and TypeMethodDescriptionintAbstract.floatGets the X velocity of the player being pushed by the explosion.floatGets the Y velocity of the player being pushed by the explosion.floatGets the Z velocity of the player being pushed by the explosion.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
-
explosionX
public double explosionX -
explosionY
public double explosionY -
explosionZ
public double explosionZ -
explosionSize
public float explosionSize -
chunkPositionRecords
-
-
Constructor Details
-
Packet60Explosion
public Packet60Explosion() -
Packet60Explosion
-
-
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
-
getPlayerVelocityX
public float getPlayerVelocityX()Gets the X velocity of the player being pushed by the explosion. -
getPlayerVelocityY
public float getPlayerVelocityY()Gets the Y velocity of the player being pushed by the explosion. -
getPlayerVelocityZ
public float getPlayerVelocityZ()Gets the Z velocity of the player being pushed by the explosion.
-