Class Packet60Explosion

java.lang.Object
net.minecraft.src.Packet
net.minecraft.src.Packet60Explosion

public class Packet60Explosion extends Packet
  • Field Details

    • explosionX

      public double explosionX
    • explosionY

      public double explosionY
    • explosionZ

      public double explosionZ
    • explosionSize

      public float explosionSize
    • chunkPositionRecords

      public List chunkPositionRecords
  • Constructor Details

    • Packet60Explosion

      public Packet60Explosion()
    • Packet60Explosion

      public Packet60Explosion(double par1, double par3, double par5, float par7, List par8List, Vec3 par9Vec3)
  • Method Details

    • readPacketData

      public void readPacketData(DataInput par1DataInput) throws IOException
      Abstract. Reads the raw packet data from the data stream.
      Specified by:
      readPacketData in class Packet
      Throws:
      IOException
    • writePacketData

      public void writePacketData(DataOutput par1DataOutput) throws IOException
      Abstract. Writes the raw packet data to the data stream.
      Specified by:
      writePacketData in class Packet
      Throws:
      IOException
    • processPacket

      public void processPacket(NetHandler par1NetHandler)
      Passes this Packet on to the NetHandler for processing.
      Specified by:
      processPacket in class Packet
    • getPacketSize

      public int getPacketSize()
      Abstract. Return the size of the packet (not counting the header).
      Specified by:
      getPacketSize in class Packet
    • 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.