Class DebugInfoPacket

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

public class DebugInfoPacket extends Packet
  • Field Details

    • NUM_MOB_CAP_TYPES

      public static final int NUM_MOB_CAP_TYPES
      See Also:
    • TICKS_PER_PACKET

      public static final int TICKS_PER_PACKET
      See Also:
    • tps

      public long[] tps
    • packetReceived

      public short[] packetReceived
    • loadedChunks

      public short[] loadedChunks
    • loadedEntities

      public int[] loadedEntities
    • mobCaps

      public short[][] mobCaps
  • Constructor Details

    • DebugInfoPacket

      public DebugInfoPacket(long[] tps, short[] packetReceived, short[] loadedChunks, int[] loadedEntities, short[][] mobCaps)
    • DebugInfoPacket

      public DebugInfoPacket()
  • Method Details

    • readPacketData

      public void readPacketData(DataInput dataInput) 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 dataOutput) 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