Class Packet63WorldParticles

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

public class Packet63WorldParticles extends Packet
  • Constructor Details

    • Packet63WorldParticles

      public Packet63WorldParticles()
  • 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
    • getParticleName

      public String getParticleName()
    • getPositionX

      public double getPositionX()
      Gets the X position of the particle.
    • getPositionY

      public double getPositionY()
      Gets the Y position of the particle.
    • getPositionZ

      public double getPositionZ()
      Gets the Z position of the particle.
    • getOffsetX

      public float getOffsetX()
      This is added to the X position after being multiplied by random.nextGaussian()
    • getOffsetY

      public float getOffsetY()
      This is added to the Y position after being multiplied by random.nextGaussian()
    • getOffsetZ

      public float getOffsetZ()
      This is added to the Z position after being multiplied by random.nextGaussian()
    • getSpeed

      public float getSpeed()
      Gets the speed of the particles.
    • getQuantity

      public int getQuantity()
      Gets the number of particles to create.
    • 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