Package net.minecraft.client.multiplayer
Class ServerData
java.lang.Object
net.minecraft.client.multiplayer.ServerData
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private String
private boolean
private ServerData.ServerPackStatus
long
boolean
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFrom
(ServerData p_105382_) void
copyNameIconFrom
(ServerData p_233804_) boolean
boolean
isLan()
static String
parseFavicon
(String p_233809_) static ServerData
read
(CompoundTag p_105386_) void
setEnforcesSecureChat
(boolean p_242972_) void
setIconB64
(String p_105384_) void
setResourcePackStatus
(ServerData.ServerPackStatus p_105380_) write()
-
Field Details
-
name
-
ip
-
status
-
motd
-
ping
public long ping -
protocol
public int protocol -
version
-
pinged
public boolean pinged -
playerList
-
packStatus
-
iconB64
-
lan
private boolean lan -
enforcesSecureChat
private boolean enforcesSecureChat -
forgeData
-
-
Constructor Details
-
ServerData
-
-
Method Details
-
write
-
getResourcePackStatus
-
setResourcePackStatus
-
read
-
getIconB64
-
parseFavicon
- Throws:
ParseException
-
setIconB64
-
isLan
public boolean isLan() -
setEnforcesSecureChat
public void setEnforcesSecureChat(boolean p_242972_) -
enforcesSecureChat
public boolean enforcesSecureChat() -
copyNameIconFrom
-
copyFrom
-