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 byte[]
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
byte[]
boolean
isLan()
static ServerData
read
(CompoundTag p_105386_) void
setEnforcesSecureChat
(boolean p_242972_) void
setIconBytes
(byte[] p_272760_) void
setResourcePackStatus
(ServerData.ServerPackStatus p_105380_) write()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
name
-
ip
-
status
-
motd
-
players
-
ping
public long ping -
protocol
public int protocol -
version
-
pinged
public boolean pinged -
playerList
-
packStatus
-
iconBytes
@Nullable private byte[] iconBytes -
lan
private boolean lan -
enforcesSecureChat
private boolean enforcesSecureChat -
forgeData
-
-
Constructor Details
-
ServerData
-
-
Method Details
-
write
-
getResourcePackStatus
-
setResourcePackStatus
-
read
-
getIconBytes
@Nullable public byte[] getIconBytes() -
setIconBytes
public void setIconBytes(@Nullable byte[] p_272760_) -
isLan
public boolean isLan() -
setEnforcesSecureChat
public void setEnforcesSecureChat(boolean p_242972_) -
enforcesSecureChat
public boolean enforcesSecureChat() -
copyNameIconFrom
-
copyFrom
-