Class CClientSettingsPacket
java.lang.Object
net.minecraft.network.play.client.CClientSettingsPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate ChatVisibilityprivate Stringprivate HandSideprivate intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionCClientSettingsPacket(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
Modifier and TypeMethodDescriptionbooleanintvoidhandle(IServerPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
language
-
viewDistance
private int viewDistance -
chatVisibility
-
chatColors
private boolean chatColors -
modelCustomisation
private int modelCustomisation -
mainHand
-
-
Constructor Details
-
CClientSettingsPacket
public CClientSettingsPacket() -
CClientSettingsPacket
public CClientSettingsPacket(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 Details
-
read
- Specified by:
readin interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IServerPlayNetHandler>
-
getChatVisibility
-
getChatColors
public boolean getChatColors() -
getModelCustomisation
public int getModelCustomisation() -
getMainHand
-
getLanguage
-