Package net.minecraft.client.option
Class ServerList
java.lang.Object
net.minecraft.client.option.ServerList
@Environment(CLIENT) public class ServerList extends Object
- Mappings:
Namespace Name official eef
intermediary net/minecraft/class_641
named net/minecraft/client/option/ServerList
-
Field Summary
Fields Modifier and Type Field Description private MinecraftClient
client
private static Logger
LOGGER
private List<ServerInfo>
servers
-
Constructor Summary
Constructors Constructor Description ServerList(MinecraftClient client)
-
Method Summary
Modifier and Type Method Description void
add(ServerInfo serverInfo)
ServerInfo
get(int int2)
void
loadFile()
void
remove(ServerInfo serverInfo)
void
saveFile()
void
set(int index, ServerInfo serverInfo)
int
size()
void
swapEntries(int index1, int index2)
static void
updateServerListEntry(ServerInfo e)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Leef;a:Lorg/apache/logging/log4j/Logger;
intermediary field_3751
Lnet/minecraft/class_641;field_3751:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/option/ServerList;LOGGER:Lorg/apache/logging/log4j/Logger;
-
client
- Mappings:
Namespace Name Mixin selector official b
Leef;b:Ldqk;
intermediary field_3750
Lnet/minecraft/class_641;field_3750:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/option/ServerList;client:Lnet/minecraft/client/MinecraftClient;
-
servers
- Mappings:
Namespace Name Mixin selector official c
Leef;c:Ljava/util/List;
intermediary field_3749
Lnet/minecraft/class_641;field_3749:Ljava/util/List;
named servers
Lnet/minecraft/client/option/ServerList;servers:Ljava/util/List;
-
-
Constructor Details
-
ServerList
- Mappings:
Namespace Name Mixin selector official <init>
Leef;<init>(Ldqk;)V
intermediary <init>
Lnet/minecraft/class_641;<init>(Lnet/minecraft/class_310;)V
named <init>
Lnet/minecraft/client/option/ServerList;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
loadFile
public void loadFile()- Mappings:
Namespace Name Mixin selector official a
Leef;a()V
intermediary method_2981
Lnet/minecraft/class_641;method_2981()V
named loadFile
Lnet/minecraft/client/option/ServerList;loadFile()V
-
saveFile
public void saveFile()- Mappings:
Namespace Name Mixin selector official b
Leef;b()V
intermediary method_2987
Lnet/minecraft/class_641;method_2987()V
named saveFile
Lnet/minecraft/client/option/ServerList;saveFile()V
-
get
- Mappings:
Namespace Name Mixin selector official a
Leef;a(I)Leee;
intermediary method_2982
Lnet/minecraft/class_641;method_2982(I)Lnet/minecraft/class_642;
named get
Lnet/minecraft/client/option/ServerList;get(I)Lnet/minecraft/client/network/ServerInfo;
-
remove
- Mappings:
Namespace Name Mixin selector official a
Leef;a(Leee;)V
intermediary method_2983
Lnet/minecraft/class_641;method_2983(Lnet/minecraft/class_642;)V
named remove
Lnet/minecraft/client/option/ServerList;remove(Lnet/minecraft/client/network/ServerInfo;)V
-
add
- Mappings:
Namespace Name Mixin selector official b
Leef;b(Leee;)V
intermediary method_2988
Lnet/minecraft/class_641;method_2988(Lnet/minecraft/class_642;)V
named add
Lnet/minecraft/client/option/ServerList;add(Lnet/minecraft/client/network/ServerInfo;)V
-
size
public int size()- Mappings:
Namespace Name Mixin selector official c
Leef;c()I
intermediary method_2984
Lnet/minecraft/class_641;method_2984()I
named size
Lnet/minecraft/client/option/ServerList;size()I
-
swapEntries
public void swapEntries(int index1, int index2)- Mappings:
Namespace Name Mixin selector official a
Leef;a(II)V
intermediary method_2985
Lnet/minecraft/class_641;method_2985(II)V
named swapEntries
Lnet/minecraft/client/option/ServerList;swapEntries(II)V
-
set
- Mappings:
Namespace Name Mixin selector official a
Leef;a(ILeee;)V
intermediary method_2980
Lnet/minecraft/class_641;method_2980(ILnet/minecraft/class_642;)V
named set
Lnet/minecraft/client/option/ServerList;set(ILnet/minecraft/client/network/ServerInfo;)V
-
updateServerListEntry
- Mappings:
Namespace Name Mixin selector official c
Leef;c(Leee;)V
intermediary method_2986
Lnet/minecraft/class_641;method_2986(Lnet/minecraft/class_642;)V
named updateServerListEntry
Lnet/minecraft/client/option/ServerList;updateServerListEntry(Lnet/minecraft/client/network/ServerInfo;)V
-