Package btw.network.packet
Class DebugInfoPacket
java.lang.Object
net.minecraft.src.Packet
btw.network.packet.DebugInfoPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionshort[]int[]short[][]static final intshort[]static final intlong[]Fields inherited from class net.minecraft.src.Packet
creationTimeMillis, field_98193_m, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize -
Constructor Summary
ConstructorsConstructorDescriptionDebugInfoPacket(long[] tps, short[] packetReceived, short[] loadedChunks, int[] loadedEntities, short[][] mobCaps) -
Method Summary
Modifier and TypeMethodDescriptionintAbstract.voidprocessPacket(NetHandler netHandler) Passes this Packet on to the NetHandler for processing.voidreadPacketData(DataInput dataInput) Abstract.voidwritePacketData(DataOutput dataOutput) Abstract.Methods inherited from class net.minecraft.src.Packet
addIdClassMapping, canProcessAsync, containsSameEntityIDAs, getNewPacket, getPacketId, isRealPacket, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writeNBTTagCompound, writePacket, writeString
-
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
Description copied from class:PacketAbstract. Reads the raw packet data from the data stream.- Specified by:
readPacketDatain classPacket- Throws:
IOException
-
writePacketData
Description copied from class:PacketAbstract. Writes the raw packet data to the data stream.- Specified by:
writePacketDatain classPacket- Throws:
IOException
-
processPacket
Description copied from class:PacketPasses this Packet on to the NetHandler for processing.- Specified by:
processPacketin classPacket
-
getPacketSize
public int getPacketSize()Description copied from class:PacketAbstract. Return the size of the packet (not counting the header).- Specified by:
getPacketSizein classPacket
-