Class HardcoreSpawnPacket

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

public class HardcoreSpawnPacket extends Packet
  • Field Details

    • timeOfLastSpawnAssignment

      public long timeOfLastSpawnAssignment
  • Constructor Details

    • HardcoreSpawnPacket

      public HardcoreSpawnPacket()
    • HardcoreSpawnPacket

      public HardcoreSpawnPacket(long timeOfLastSpawnAssignment)
  • Method Details

    • readPacketData

      public void readPacketData(DataInput dataInputStream) 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 dataOutputStream) 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 netHandler)
      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