public class CClientSettingsPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private ChatVisibility |
chatVisibility |
private boolean |
enableColors |
private java.lang.String |
lang |
private HandSide |
mainHand |
private int |
modelPartFlags |
private int |
view |
Constructor and Description |
---|
CClientSettingsPacket() |
CClientSettingsPacket(java.lang.String p_i50761_1_,
int p_i50761_2_,
ChatVisibility p_i50761_3_,
boolean p_i50761_4_,
int p_i50761_5_,
HandSide p_i50761_6_) |
Modifier and Type | Method and Description |
---|---|
ChatVisibility |
getChatVisibility() |
java.lang.String |
getLang() |
HandSide |
getMainHand() |
int |
getModelPartFlags() |
boolean |
isColorsEnabled() |
void |
processPacket(IServerPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private java.lang.String lang
private int view
private ChatVisibility chatVisibility
private boolean enableColors
private int modelPartFlags
private HandSide mainHand
public CClientSettingsPacket()
public CClientSettingsPacket(java.lang.String p_i50761_1_, int p_i50761_2_, ChatVisibility p_i50761_3_, boolean p_i50761_4_, int p_i50761_5_, HandSide p_i50761_6_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IServerPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IServerPlayNetHandler>
java.io.IOException
public void processPacket(IServerPlayNetHandler handler)
processPacket
in interface IPacket<IServerPlayNetHandler>
public java.lang.String getLang()
public ChatVisibility getChatVisibility()
public boolean isColorsEnabled()
public int getModelPartFlags()
public HandSide getMainHand()