public class CPacketClientSettings extends java.lang.Object implements Packet<INetHandlerPlayServer>
Constructor and Description |
---|
CPacketClientSettings() |
CPacketClientSettings(java.lang.String langIn,
int renderDistanceIn,
EntityPlayer.EnumChatVisibility chatVisibilityIn,
boolean chatColorsIn,
int modelPartsIn,
EnumHandSide mainHandIn) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer.EnumChatVisibility |
getChatVisibility() |
java.lang.String |
getLang() |
EnumHandSide |
getMainHand() |
int |
getModelPartFlags() |
boolean |
isColorsEnabled() |
void |
processPacket(INetHandlerPlayServer handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public CPacketClientSettings()
public CPacketClientSettings(java.lang.String langIn, int renderDistanceIn, EntityPlayer.EnumChatVisibility chatVisibilityIn, boolean chatColorsIn, int modelPartsIn, EnumHandSide mainHandIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayServer>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayServer>
java.io.IOException
public void processPacket(INetHandlerPlayServer handler)
processPacket
in interface Packet<INetHandlerPlayServer>
public java.lang.String getLang()
public EntityPlayer.EnumChatVisibility getChatVisibility()
public boolean isColorsEnabled()
public int getModelPartFlags()
public EnumHandSide getMainHand()