Package net.minecraft.client.multiplayer
Class ServerData
java.lang.Object
net.minecraft.client.multiplayer.ServerData
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate ServerData.ChatPreview
private boolean
private boolean
private String
private boolean
private static final org.slf4j.Logger
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_) boolean
static ServerData
read
(CompoundTag p_105386_) void
setChatPreviewEnabled
(boolean p_233816_) void
setEnforcesSecureChat
(boolean p_242972_) void
setIconB64
(String p_105384_) void
setPreviewsChat
(boolean p_233814_) void
setResourcePackStatus
(ServerData.ServerPackStatus p_105380_) write()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
name
-
ip
-
status
-
motd
-
ping
public long ping -
protocol
public int protocol -
version
-
pinged
public boolean pinged -
playerList
-
packStatus
-
iconB64
-
lan
private boolean lan -
chatPreview
-
chatPreviewEnabled
private boolean chatPreviewEnabled -
enforcesSecureChat
private boolean enforcesSecureChat -
forgeData
-
-
Constructor Details
-
ServerData
-
-
Method Details
-
write
-
getResourcePackStatus
-
setResourcePackStatus
-
read
-
getIconB64
-
parseFavicon
- Throws:
ParseException
-
setIconB64
-
isLan
public boolean isLan() -
setPreviewsChat
public void setPreviewsChat(boolean p_233814_) -
getChatPreview
-
setChatPreviewEnabled
public void setChatPreviewEnabled(boolean p_233816_) -
previewsChat
public boolean previewsChat() -
setEnforcesSecureChat
public void setEnforcesSecureChat(boolean p_242972_) -
enforcesSecureChat
public boolean enforcesSecureChat() -
copyNameIconFrom
-
copyFrom
-