net.minecraft.client.multiplayer

public class ServerData

gfz
net.minecraft.client.multiplayer.ServerData
net.minecraft.class_642
net.minecraft.client.network.ServerInfo

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
j
LOGGER
field_42889
LOGGER
private static final int
k
MAX_ICON_SIZE
field_46206
MAX_FAVICON_SIZE
public String
a
name
field_3752
name
public String
b
ip
field_3761
address
public Component
c
status
field_3753
playerCountLabel
public Component
d
motd
field_3757
label
public ServerStatus$Players
e
players
field_41861
players
public long
f
ping
field_3758
ping
public int
g
protocol
field_3756
protocolVersion
public Component
h
version
field_3760
version
public List<Component>
i
playerList
field_3762
playerListSummary
private ServerData$ServerPackStatus
l
packStatus
field_3755
resourcePackPolicy
private byte[]
m
iconBytes
field_42890
favicon
private ServerData$Type
n
type
field_45608
serverType
private ServerData$State
o
state
field_47879
status

Constructor summary

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

Method summary

Modifier and TypeMethod
public CompoundTag
a()
write()
method_2992()
toNbt()
public ServerData$ServerPackStatus
b()
getResourcePackStatus()
method_2990()
getResourcePackPolicy()
public void
a(gfz$a arg0)
setResourcePackStatus(ServerData$ServerPackStatus arg0)
method_2995(class_642$class_643 arg0)
setResourcePackPolicy(ServerInfo$ResourcePackPolicy resourcePackPolicy)
public static ServerData
a(ux arg0)
read(CompoundTag arg0)
method_2993(class_2487 arg0)
fromNbt(NbtCompound root)
public byte[]
c()
getIconBytes()
method_49306()
getFavicon()
public void
a(byte[] arg0)
setIconBytes(byte[] arg0)
method_49305(byte[] arg0)
setFavicon(byte[] favicon)
public boolean
d()
isLan()
method_2994()
isLocal()
public boolean
e()
isRealm()
method_52811()
isRealm()
public ServerData$Type
f()
type()
method_55616()
getServerType()
public void
a(gfz arg0)
copyNameIconFrom(ServerData arg0)
method_44292(class_642 arg0)
copyFrom(ServerInfo serverInfo)
public void
b(gfz arg0)
copyFrom(ServerData arg0)
method_2996(class_642 arg0)
copyWithSettingsFrom(ServerInfo serverInfo)
public ServerData$State
g()
state()
method_55825()
getStatus()
public void
a(gfz$b arg0)
setState(ServerData$State arg0)
method_55824(class_642$class_9083 arg0)
setStatus(ServerInfo$Status status)
public static byte[]
b(byte[] arg0)
validateIcon(byte[] arg0)
method_53885(byte[] arg0)
validateFavicon(byte[] favicon)