Package net.minecraft.client.multiplayer
Class ServerList
java.lang.Object
net.minecraft.client.multiplayer.ServerList
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ServerData>
private static final ProcessorMailbox<Runnable>
private static final org.slf4j.Logger
private static final int
private final Minecraft
private final List<ServerData>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ServerData p_233843_, boolean p_233844_) get
(int p_105433_) void
load()
void
remove
(ServerData p_105441_) void
replace
(int p_105438_, ServerData p_105439_) void
save()
static void
saveSingleServer
(ServerData p_105447_) private static boolean
set
(ServerData p_233840_, List<ServerData> p_233841_) int
size()
void
swap
(int p_105435_, int p_105436_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
IO_MAILBOX
-
MAX_HIDDEN_SERVERS
private static final int MAX_HIDDEN_SERVERS- See Also:
-
minecraft
-
serverList
-
-
Constructor Details
-
ServerList
-
-
Method Details
-
load
public void load() -
save
public void save() -
get
-
get
-
unhide
-
remove
-
add
-
size
public int size() -
swap
public void swap(int p_105435_, int p_105436_) -
replace
-
set
-
saveSingleServer
-