net.minecraft.server.level

public record ClientInformation

aqh
net.minecraft.server.level.ClientInformation
net.minecraft.class_8791
net.minecraft.network.packet.c2s.common.SyncedClientOptions
net.minecraft.src.C_290276_
net.minecraft.server.level.ClientInformation

Field summary

Modifier and TypeField
private final String
b
language
comp_1951
language
f_290932_
private final int
c
viewDistance
comp_1952
viewDistance
f_291199_
private final ChatVisiblity
d
chatVisibility
comp_1953
chatVisibility
f_291339_
private final boolean
e
chatColors
comp_1954
chatColorsEnabled
f_290356_
private final int
f
modelCustomisation
comp_1955
playerModelParts
f_290798_
private final HumanoidArm
g
mainHand
comp_1956
mainArm
f_291270_
private final boolean
h
textFilteringEnabled
comp_1957
filtersText
f_291351_
private final boolean
i
allowsListing
comp_1958
allowsServerListing
f_290665_
public static final int
a
MAX_LANGUAGE_LENGTH
field_46155
MAX_LANGUAGE_CODE_LENGTH
f_291196_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (String viewDistance, int chatVisibility, ChatVisiblity chatColors, boolean modelCustomisation, int mainHand, HumanoidArm textFilteringEnabled, boolean allowsListing, boolean arg7)

Method summary

Modifier and TypeMethod
public void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_53822(class_2540 arg0)
write(PacketByteBuf buf)
m_293760_(C_4983_ arg0)
public static ClientInformation
a()
createDefault()
method_53821()
createDefault()
m_293662_()
public String
b()
language()
comp_1951()
language()
f_290932_()
public int
c()
viewDistance()
comp_1952()
viewDistance()
f_291199_()
public ChatVisiblity
d()
chatVisibility()
comp_1953()
chatVisibility()
f_291339_()
public boolean
e()
chatColors()
comp_1954()
chatColorsEnabled()
f_290356_()
public int
f()
modelCustomisation()
comp_1955()
playerModelParts()
f_290798_()
public HumanoidArm
g()
mainHand()
comp_1956()
mainArm()
f_291270_()
public boolean
h()
textFilteringEnabled()
comp_1957()
filtersText()
f_291351_()
public boolean
i()
allowsListing()
comp_1958()
allowsServerListing()
f_290665_()