net.minecraft.client.multiplayer

public class ServerData

fod
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
k
LOGGER
field_42889
LOGGER
f_271489_
private static final int
l
MAX_ICON_SIZE
field_46206
MAX_FAVICON_SIZE
f_301624_
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 ServerStatus$Players
e
players
field_41861
players
f_263840_
public long
f
ping
field_3758
ping
f_105366_
public int
g
protocol
field_3756
protocolVersion
f_105367_
public Component
h
version
field_3760
version
f_105368_
public boolean
i
pinged
field_3754
online
f_105369_
public List<Component>
j
playerList
field_3762
playerListSummary
f_105370_
private ServerData$ServerPackStatus
m
packStatus
field_3755
resourcePackPolicy
f_105371_
private byte[]
n
iconBytes
field_42890
favicon
f_271511_
private ServerData$Type
o
type
field_45608
serverType
f_291831_
private boolean
p
enforcesSecureChat
field_39918
secureChatEnforced
f_242950_

Constructor summary

ModifierConstructor
public (String name, String address, ServerData$Type serverType)

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(fod$a 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(sn arg0)
read(CompoundTag arg0)
method_2993(class_2487 arg0)
fromNbt(NbtCompound root)
m_105385_(C_4917_ p_105386_)
public byte[]
c()
getIconBytes()
method_49306()
getFavicon()
m_271916_()
public void
a(byte[] arg0)
setIconBytes(byte[] arg0)
method_49305(byte[] arg0)
setFavicon(byte[] favicon)
m_271813_(byte[] arg0)
public boolean
d()
isLan()
method_2994()
isLocal()
m_105389_()
public boolean
e()
isRealm()
method_52811()
isRealm()
m_295074_()
public ServerData$Type
f()
type()
method_55616()
getServerType()
m_306276_()
public void
a(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(fod arg0)
copyNameIconFrom(ServerData arg0)
method_44292(class_642 arg0)
copyFrom(ServerInfo serverInfo)
m_233803_(C_3908_ arg0)
public void
b(fod arg0)
copyFrom(ServerData arg0)
method_2996(class_642 arg0)
copyWithSettingsFrom(ServerInfo serverInfo)
m_105381_(C_3908_ arg0)
public static byte[]
b(byte[] arg0)
validateIcon(byte[] arg0)
method_53885(byte[] arg0)
validateFavicon(byte[] favicon)
m_301662_(byte[] p_301776_)