public class Packet204ClientInfo extends Packet
creationTimeMillis, isChunkDataPacket, packetIdToClassMap, receivedID, receivedSize, sentID, sentSize| Constructor and Description |
|---|
Packet204ClientInfo() |
Packet204ClientInfo(String par1Str,
int par2,
int par3,
boolean par4,
int par5,
boolean par6) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSameEntityIDAs(Packet par1Packet)
eg return packet30entity.entityId == entityId; WARNING : will throw if you compare a packet to a different packet
class
|
boolean |
getChatColours() |
int |
getChatVisibility() |
int |
getDifficulty() |
String |
getLanguage() |
int |
getPacketSize()
Abstract.
|
int |
getRenderDistance() |
boolean |
getShowCape() |
boolean |
isRealPacket()
only false for the abstract Packet class, all real packets return true
|
void |
processPacket(NetHandler par1NetHandler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(DataInput par1DataInput)
Abstract.
|
void |
writePacketData(DataOutput par1DataOutput)
Abstract.
|
addIdClassMapping, canProcessAsync, getNewPacket, getPacketId, readBytesFromStream, readItemStack, readNBTTagCompound, readPacket, readString, toString, writeByteArray, writeItemStack, writePacket, writeStringpublic Packet204ClientInfo()
public Packet204ClientInfo(String par1Str, int par2, int par3, boolean par4, int par5, boolean par6)
public void readPacketData(DataInput par1DataInput) throws IOException
readPacketData in class PacketIOExceptionpublic void writePacketData(DataOutput par1DataOutput) throws IOException
writePacketData in class PacketIOExceptionpublic void processPacket(NetHandler par1NetHandler)
processPacket in class Packetpublic int getPacketSize()
getPacketSize in class Packetpublic String getLanguage()
public int getRenderDistance()
public int getChatVisibility()
public boolean getChatColours()
public int getDifficulty()
public boolean getShowCape()
public boolean isRealPacket()
isRealPacket in class Packetpublic boolean containsSameEntityIDAs(Packet par1Packet)
containsSameEntityIDAs in class Packet