net.minecraft.client.multiplayer

public class ServerData

fzt
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_42889
LOGGER
f_271489_
private static final int
k
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 List<Component>
i
playerList
field_3762
playerListSummary
f_105370_
private ServerData$ServerPackStatus
l
packStatus
field_3755
resourcePackPolicy
f_105371_
private byte[]
m
iconBytes
field_42890
favicon
f_271511_
private ServerData$Type
n
type
field_45608
serverType
f_291831_
private ServerData$State
o
state
field_47879
status
f_316366_

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(fzt$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(ub 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(fzt arg0)
copyNameIconFrom(ServerData arg0)
method_44292(class_642 arg0)
copyFrom(ServerInfo serverInfo)
m_233803_(C_3908_ arg0)
public void
b(fzt arg0)
copyFrom(ServerData arg0)
method_2996(class_642 arg0)
copyWithSettingsFrom(ServerInfo serverInfo)
m_105381_(C_3908_ arg0)
public ServerData$State
g()
state()
method_55825()
getStatus()
m_323345_()
public void
a(fzt$b arg0)
setState(ServerData$State arg0)
method_55824(class_642$class_9083 arg0)
setStatus(ServerInfo$Status status)
m_322383_(C_3908_$C_313599_ arg0)
public static byte[]
b(byte[] arg0)
validateIcon(byte[] arg0)
method_53885(byte[] arg0)
validateFavicon(byte[] favicon)
m_301662_(byte[] p_301776_)