public class CustomServerData
extends net.minecraft.client.multiplayer.ServerData
Modifier and Type | Class and Description |
---|---|
static class |
CustomServerData.ServerResourceMode |
Modifier and Type | Field and Description |
---|---|
boolean |
gifLogo |
boolean |
goldBorder |
java.lang.String |
ip |
java.lang.String |
name |
boolean |
scrollingMotd |
Constructor and Description |
---|
CustomServerData(java.lang.String p_i46420_1_,
java.lang.String p_i46420_2_,
boolean p_i46420_3_) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(CustomServerData copy) |
java.lang.String |
getIconB64() |
net.minecraft.client.multiplayer.ServerData.ServerResourceMode |
getResourcePackStatus() |
boolean |
isLan() |
static CustomServerData |
read(net.minecraft.nbt.CompoundNBT compound) |
void |
setIconB64(java.lang.String p_147407_1_) |
void |
setResourcePackStatus(net.minecraft.client.multiplayer.ServerData.ServerResourceMode p_152584_1_) |
net.minecraft.nbt.CompoundNBT |
write() |
public java.lang.String name
public java.lang.String ip
public boolean scrollingMotd
public boolean goldBorder
public boolean gifLogo
public CustomServerData(java.lang.String p_i46420_1_, java.lang.String p_i46420_2_, boolean p_i46420_3_)
public net.minecraft.nbt.CompoundNBT write()
write
in class net.minecraft.client.multiplayer.ServerData
public net.minecraft.client.multiplayer.ServerData.ServerResourceMode getResourcePackStatus()
getResourcePackStatus
in class net.minecraft.client.multiplayer.ServerData
public void setResourcePackStatus(net.minecraft.client.multiplayer.ServerData.ServerResourceMode p_152584_1_)
setResourcePackStatus
in class net.minecraft.client.multiplayer.ServerData
public static CustomServerData read(net.minecraft.nbt.CompoundNBT compound)
@Nullable public java.lang.String getIconB64()
getIconB64
in class net.minecraft.client.multiplayer.ServerData
public void setIconB64(@Nullable java.lang.String p_147407_1_)
setIconB64
in class net.minecraft.client.multiplayer.ServerData
public boolean isLan()
isLan
in class net.minecraft.client.multiplayer.ServerData
public void copyFrom(CustomServerData copy)