net.minecraft.client.multiplayer

public class ServerData

evb
net.minecraft.client.multiplayer.ServerData
net.minecraft.class_642
net.minecraft.client.network.ServerInfo
net.minecraft.src.C_3908_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
j
LOGGER
field_39355
LOGGER
f_233799_
public String
a
name
field_3752
name
f_105362_
public String
b
ip
field_3761
address
f_105363_
public Component
c
status
field_3753
playerCountLabel
f_105364_
public Component
d
motd
field_3757
label
f_105365_
public long
e
ping
field_3758
ping
f_105366_
public int
f
protocol
field_3756
protocolVersion
f_105367_
public Component
g
version
field_3760
version
f_105368_
public boolean
h
pinged
field_3754
online
f_105369_
public List<Component>
i
playerList
field_3762
playerListSummary
f_105370_
private ServerData$ServerPackStatus
k
packStatus
field_3755
resourcePackPolicy
f_105371_
private String
l
iconB64
field_3759
icon
f_105372_
private boolean
m
lan
field_3763
local
f_105373_
private ServerData$ChatPreview
n
chatPreview
field_39356
chatPreview
f_233800_
private boolean
o
chatPreviewEnabled
field_39436
temporaryChatPreviewState
f_233801_
private boolean
p
enforcesSecureChat
field_39918
secureChatEnforced
f_242950_

Constructor summary

ModifierConstructor
public (String name, String address, boolean local)

Method summary

Modifier and TypeMethod
public CompoundTag
a()
write()
method_2992()
toNbt()
m_105378_()
public ServerData$ServerPackStatus
b()
getResourcePackStatus()
method_2990()
getResourcePackPolicy()
m_105387_()
public void
a(evb$b arg0)
setResourcePackStatus(ServerData$ServerPackStatus arg0)
method_2995(class_642$class_643 arg0)
setResourcePackPolicy(ServerInfo$ResourcePackPolicy resourcePackPolicy)
m_105379_(C_3908_$C_3909_ arg0)
public static ServerData
a(pj arg0)
read(CompoundTag arg0)
method_2993(class_2487 arg0)
fromNbt(NbtCompound root)
m_105385_(C_4917_ p_105386_)
public String
c()
getIconB64()
method_2991()
getIcon()
m_105388_()
public static String
a(String arg0)
parseFavicon(String arg0)
method_44078(String arg0)
parseFavicon(String favicon)
m_233808_(String p_233809_)
public void
b(String arg0)
setIconB64(String arg0)
method_2989(String arg0)
setIcon(String icon)
m_105383_(String arg0)
public boolean
d()
isLan()
method_2994()
isLocal()
m_105389_()
public void
a(boolean arg0)
setPreviewsChat(boolean arg0)
method_44080(boolean arg0)
setPreviewsChat(boolean enabled)
m_233813_(boolean arg0)
public ServerData$ChatPreview
e()
getChatPreview()
method_44081()
getChatPreview()
m_233817_()
public void
b(boolean arg0)
setChatPreviewEnabled(boolean arg0)
method_44293(boolean arg0)
setTemporaryChatPreviewState(boolean temporaryChatPreviewState)
m_233815_(boolean arg0)
public boolean
f()
previewsChat()
method_44082()
shouldPreviewChat()
m_233818_()
public void
c(boolean arg0)
setEnforcesSecureChat(boolean arg0)
method_45055(boolean arg0)
setSecureChatEnforced(boolean secureChatEnforced)
m_242965_(boolean arg0)
public boolean
g()
enforcesSecureChat()
method_45056()
isSecureChatEnforced()
m_242962_()
public void
a(evb arg0)
copyNameIconFrom(ServerData arg0)
method_44292(class_642 arg0)
copyFrom(ServerInfo serverInfo)
m_233803_(C_3908_ arg0)
public void
b(evb arg0)
copyFrom(ServerData arg0)
method_2996(class_642 arg0)
copyWithSettingsFrom(ServerInfo serverInfo)
m_105381_(C_3908_ arg0)