Class CClientSettingsPacket
- java.lang.Object
-
- net.minecraft.network.play.client.CClientSettingsPacket
-
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
public class CClientSettingsPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
chatColors
private ChatVisibility
chatVisibility
private java.lang.String
language
private HandSide
mainHand
private int
modelCustomisation
private int
viewDistance
-
Constructor Summary
Constructors Constructor 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_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getChatColors()
ChatVisibility
getChatVisibility()
java.lang.String
getLanguage()
HandSide
getMainHand()
int
getModelCustomisation()
void
handle(IServerPlayNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
void
write(PacketBuffer p_148840_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
-
-
-
Field Detail
-
language
private java.lang.String language
-
viewDistance
private int viewDistance
-
chatVisibility
private ChatVisibility chatVisibility
-
chatColors
private boolean chatColors
-
modelCustomisation
private int modelCustomisation
-
mainHand
private HandSide mainHand
-
-
Constructor Detail
-
CClientSettingsPacket
public CClientSettingsPacket()
-
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_)
-
-
Method Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IServerPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IServerPlayNetHandler>
-
getChatVisibility
public ChatVisibility getChatVisibility()
-
getChatColors
public boolean getChatColors()
-
getModelCustomisation
public int getModelCustomisation()
-
getMainHand
public HandSide getMainHand()
-
getLanguage
public java.lang.String getLanguage()
-
-