Package net.minecraft.client.option
Class ServerList
java.lang.Object
net.minecraft.client.option.ServerList
- Mappings:
Namespace Name official elr
intermediary net/minecraft/class_641
named net/minecraft/client/option/ServerList
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private static final Logger
private final List<ServerInfo>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ServerInfo serverInfo) get
(int index) void
loadFile()
void
remove
(ServerInfo serverInfo) void
saveFile()
void
set
(int index, ServerInfo serverInfo) int
size()
void
swapEntries
(int index1, int index2) static void
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lelr;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
Lelr;b:Ldxo;
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
Lelr;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>
Lelr;<init>(Ldxo;)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
Lelr;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
Lelr;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
Lelr;a(I)Lelq;
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
Lelr;a(Lelq;)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
Lelr;b(Lelq;)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
Lelr;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
Lelr;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
Lelr;a(ILelq;)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
Lelr;c(Lelq;)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
-