Class StartBlockHarvestPacket

java.lang.Object
net.minecraft.src.Packet
btw.network.packet.StartBlockHarvestPacket

public class StartBlockHarvestPacket extends Packet
  • Field Details

    • posX

      public int posX
    • posY

      public int posY
    • posZ

      public int posZ
    • face

      public int face
  • Constructor Details

    • StartBlockHarvestPacket

      public StartBlockHarvestPacket()
    • StartBlockHarvestPacket

      public StartBlockHarvestPacket(int i, int j, int k, int iHitFace, float fMiningSpeedModifier)
  • Method Details

    • readPacketData

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

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

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

      public int getPacketSize()
      Description copied from class: Packet
      Abstract. Return the size of the packet (not counting the header).
      Specified by:
      getPacketSize in class Packet
    • getMiningSpeedModifier

      public float getMiningSpeedModifier()