Class ExtendedServerList
java.lang.Object
net.minecraft.client.multiplayer.ServerList
com.pixelmonmod.pixelmon.client.gui.override.servers.list.ExtendedServerList
public class ExtendedServerList
extends net.minecraft.client.multiplayer.ServerList
-
Field Summary
Fields inherited from class net.minecraft.client.multiplayer.ServerList
IO_MAILBOX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ExtendedServerData p_78849_1_) void
add
(net.minecraft.client.multiplayer.ServerData serverData, boolean hidden) net.minecraft.client.multiplayer.ServerData
get
(int p_78850_1_) Deprecated.@Nullable net.minecraft.client.multiplayer.ServerData
getServer
(int index) boolean
isFavourite
(net.minecraft.client.multiplayer.ServerData serverData) void
load()
void
void
remove
(net.minecraft.client.multiplayer.ServerData serverData) void
replace
(int index, ExtendedServerData data) void
save()
int
size()
void
swap
(int index, int secondIndex) void
toggleFavourite
(ExtendedServerData serverData) Methods inherited from class net.minecraft.client.multiplayer.ServerList
replace, saveSingleServer
-
Constructor Details
-
ExtendedServerList
public ExtendedServerList(net.minecraft.client.Minecraft minecraft)
-
-
Method Details
-
load
public void load()- Overrides:
load
in classnet.minecraft.client.multiplayer.ServerList
-
save
public void save()- Overrides:
save
in classnet.minecraft.client.multiplayer.ServerList
-
remove
public void remove(net.minecraft.client.multiplayer.ServerData serverData) - Overrides:
remove
in classnet.minecraft.client.multiplayer.ServerList
-
add
-
size
public int size()- Overrides:
size
in classnet.minecraft.client.multiplayer.ServerList
-
swap
public void swap(int index, int secondIndex) - Overrides:
swap
in classnet.minecraft.client.multiplayer.ServerList
-
replace
-
toggleFavourite
-
isFavourite
public boolean isFavourite(net.minecraft.client.multiplayer.ServerData serverData) -
randomize
public void randomize() -
getServer
-
get
Deprecated.- Overrides:
get
in classnet.minecraft.client.multiplayer.ServerList
-
get
- Overrides:
get
in classnet.minecraft.client.multiplayer.ServerList
-
add
public void add(net.minecraft.client.multiplayer.ServerData serverData, boolean hidden) - Overrides:
add
in classnet.minecraft.client.multiplayer.ServerList
-
unhide
- Overrides:
unhide
in classnet.minecraft.client.multiplayer.ServerList
-