public class CPacketClientSettings extends java.lang.Object implements Packet<INetHandlerPlayServer>
Modifier and Type | Field and Description |
---|---|
private EntityPlayer.EnumChatVisibility |
chatVisibility |
private boolean |
enableColors |
private java.lang.String |
lang |
private EnumHandSide |
mainHand |
private int |
modelPartFlags |
private int |
view |
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) |
private java.lang.String lang
private int view
private EntityPlayer.EnumChatVisibility chatVisibility
private boolean enableColors
private int modelPartFlags
private EnumHandSide mainHand
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()