net.minecraft.network.protocol.game

public class ServerboundClientInformationPacket

implements Packet<ServerGamePacketListener>

tt
net.minecraft.network.protocol.game.ServerboundClientInformationPacket
net.minecraft.class_2803
net.minecraft.network.packet.c2s.play.ClientSettingsC2SPacket
net.minecraft.src.C_5152_
net.minecraft.network.protocol.game.PacketPlayInSettings

Field summary

Modifier and TypeField
public static final int
a
MAX_LANGUAGE_LENGTH
field_33360
MAX_LANGUAGE_LENGTH
f_179549_
private final String
b
language
field_12777
language
f_133863_
private final int
c
viewDistance
field_12780
viewDistance
f_133864_
private final ChatVisiblity
d
chatVisibility
field_12781
chatVisibility
f_133865_
private final boolean
e
chatColors
field_12779
chatColors
f_133866_
private final int
f
modelCustomisation
field_12778
playerModelBitMask
f_133867_
private final HumanoidArm
g
mainHand
field_12782
mainArm
f_133868_
private final boolean
h
textFilteringEnabled
field_28961
filterText
f_179550_

Constructor summary

ModifierConstructor
public (String language, int viewDistance, ChatVisiblity chatVisibility, boolean chatColors, int modelBitMask, HumanoidArm mainArm, boolean filterText)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(og arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(tn arg0)
handle(ServerGamePacketListener arg0)
method_12133(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public String
b()
getLanguage()
method_36166()
getLanguage()
m_179561_()
public int
c()
getViewDistance()
method_36167()
getViewDistance()
m_179562_()
public ChatVisiblity
d()
getChatVisibility()
method_12134()
getChatVisibility()
m_133885_()
public boolean
e()
getChatColors()
method_12135()
hasChatColors()
m_133886_()
public int
f()
getModelCustomisation()
method_12136()
getPlayerModelBitMask()
m_133887_()
public HumanoidArm
g()
getMainHand()
method_12132()
getMainArm()
m_133888_()
getMainHand()
public boolean
h()
isTextFilteringEnabled()
method_33894()
shouldFilterText()
m_179563_()