Package net.minecraft.client.multiplayer
Class ServerData
- java.lang.Object
-
- net.minecraft.client.multiplayer.ServerData
-
public class ServerData extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerData.ServerResourceMode
-
Field Summary
Fields Modifier and Type Field Description ExtendedServerListData
forgeData
private java.lang.String
iconB64
java.lang.String
ip
private boolean
lan
ITextComponent
motd
java.lang.String
name
private ServerData.ServerResourceMode
packStatus
long
ping
boolean
pinged
java.util.List<ITextComponent>
playerList
int
protocol
ITextComponent
status
ITextComponent
version
-
Constructor Summary
Constructors Constructor Description ServerData(java.lang.String p_i46420_1_, java.lang.String p_i46420_2_, boolean p_i46420_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyFrom(ServerData p_152583_1_)
java.lang.String
getIconB64()
ServerData.ServerResourceMode
getResourcePackStatus()
boolean
isLan()
static ServerData
read(CompoundNBT p_78837_0_)
void
setIconB64(java.lang.String p_147407_1_)
void
setResourcePackStatus(ServerData.ServerResourceMode p_152584_1_)
CompoundNBT
write()
-
-
-
Field Detail
-
name
public java.lang.String name
-
ip
public java.lang.String ip
-
status
public ITextComponent status
-
motd
public ITextComponent motd
-
ping
public long ping
-
protocol
public int protocol
-
version
public ITextComponent version
-
pinged
public boolean pinged
-
playerList
public java.util.List<ITextComponent> playerList
-
packStatus
private ServerData.ServerResourceMode packStatus
-
iconB64
@Nullable private java.lang.String iconB64
-
lan
private boolean lan
-
forgeData
public ExtendedServerListData forgeData
-
-
Method Detail
-
write
public CompoundNBT write()
-
getResourcePackStatus
public ServerData.ServerResourceMode getResourcePackStatus()
-
setResourcePackStatus
public void setResourcePackStatus(ServerData.ServerResourceMode p_152584_1_)
-
read
public static ServerData read(CompoundNBT p_78837_0_)
-
getIconB64
@Nullable public java.lang.String getIconB64()
-
setIconB64
public void setIconB64(@Nullable java.lang.String p_147407_1_)
-
isLan
public boolean isLan()
-
copyFrom
public void copyFrom(ServerData p_152583_1_)
-
-