public class CustomServerList
extends net.minecraft.client.multiplayer.ServerList
Constructor and Description |
---|
CustomServerList(net.minecraft.client.Minecraft p_i1194_1_) |
Modifier and Type | Method and Description |
---|---|
void |
add(CustomServerData p_78849_1_) |
net.minecraft.client.multiplayer.ServerData |
get(int p_78850_1_) |
CustomServerData |
getServer(int p_78850_1_) |
boolean |
isFavourite(net.minecraft.client.multiplayer.ServerData serverData) |
void |
load() |
void |
randomize() |
void |
remove(net.minecraft.client.multiplayer.ServerData p_217506_1_) |
void |
replace(int p_147413_1_,
CustomServerData p_147413_2_) |
void |
save() |
int |
size() |
void |
swap(int p_78857_1_,
int p_78857_2_) |
void |
toggleFavourite(CustomServerData serverData) |
public CustomServerList(net.minecraft.client.Minecraft p_i1194_1_)
public void load()
load
in class net.minecraft.client.multiplayer.ServerList
public void save()
save
in class net.minecraft.client.multiplayer.ServerList
public CustomServerData getServer(int p_78850_1_)
public void remove(net.minecraft.client.multiplayer.ServerData p_217506_1_)
remove
in class net.minecraft.client.multiplayer.ServerList
public void add(CustomServerData p_78849_1_)
public int size()
size
in class net.minecraft.client.multiplayer.ServerList
public void swap(int p_78857_1_, int p_78857_2_)
swap
in class net.minecraft.client.multiplayer.ServerList
public void replace(int p_147413_1_, CustomServerData p_147413_2_)
public void toggleFavourite(CustomServerData serverData)
public boolean isFavourite(net.minecraft.client.multiplayer.ServerData serverData)
public void randomize()
public net.minecraft.client.multiplayer.ServerData get(int p_78850_1_)
get
in class net.minecraft.client.multiplayer.ServerList