Class CClientSettingsPacket
java.lang.Object
net.minecraft.network.play.client.CClientSettingsPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private ChatVisibility
private String
private HandSide
private int
private int
-
Constructor Summary
ConstructorDescriptionCClientSettingsPacket
(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 TypeMethodDescriptionboolean
int
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 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:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IServerPlayNetHandler>
-
getChatVisibility
-
getChatColors
public boolean getChatColors() -
getModelCustomisation
public int getModelCustomisation() -
getMainHand
-
getLanguage
-