2020-12-22 15:45:08 -05:00
|
|
|
CLASS net/minecraft/class_641 net/minecraft/client/option/ServerList
|
2022-05-23 08:07:30 -04:00
|
|
|
COMMENT A list of {@link ServerInfo}. The list can contain an unlimited amount of
|
|
|
|
COMMENT {@linkplain #servers server entries that are displayed on the multiplayer screen},
|
|
|
|
COMMENT and up to {@value #MAX_HIDDEN_ENTRIES} {@linkplain #hiddenServers entries of servers}
|
|
|
|
COMMENT that are created when using "Direct Connection" and is hidden from the screen.
|
2019-09-01 11:22:10 -04:00
|
|
|
FIELD field_3749 servers Ljava/util/List;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_3750 client Lnet/minecraft/class_310;
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_3751 LOGGER Lorg/slf4j/Logger;
|
2022-05-17 05:56:35 -04:00
|
|
|
FIELD field_39360 IO_EXECUTOR Lnet/minecraft/class_3846;
|
2022-05-23 08:07:30 -04:00
|
|
|
FIELD field_39437 MAX_HIDDEN_ENTRIES I
|
|
|
|
FIELD field_39438 hiddenServers Ljava/util/List;
|
|
|
|
METHOD <init> (Lnet/minecraft/class_310;)V
|
|
|
|
ARG 1 client
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_2980 set (ILnet/minecraft/class_642;)V
|
2018-11-04 07:22:38 -05:00
|
|
|
ARG 1 index
|
2021-01-23 04:48:35 -05:00
|
|
|
ARG 2 serverInfo
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_2981 loadFile ()V
|
|
|
|
METHOD method_2982 get (I)Lnet/minecraft/class_642;
|
2021-05-23 14:12:42 -04:00
|
|
|
ARG 1 index
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_2983 remove (Lnet/minecraft/class_642;)V
|
2021-05-23 14:12:42 -04:00
|
|
|
ARG 1 serverInfo
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_2984 size ()I
|
|
|
|
METHOD method_2985 swapEntries (II)V
|
|
|
|
ARG 1 index1
|
2021-01-23 04:48:35 -05:00
|
|
|
ARG 2 index2
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_2986 updateServerListEntry (Lnet/minecraft/class_642;)V
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 0 serverInfo
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_2987 saveFile ()V
|
2022-05-18 12:58:03 -04:00
|
|
|
METHOD method_2988 add (Lnet/minecraft/class_642;Z)V
|
2022-05-23 08:07:30 -04:00
|
|
|
COMMENT Adds a server info to this list.
|
2021-05-23 14:12:42 -04:00
|
|
|
ARG 1 serverInfo
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 2 hidden
|
|
|
|
COMMENT whether the info should not be listed in the multiplayer screen (also called
|
|
|
|
COMMENT "direct connection")
|
|
|
|
METHOD method_44294 replace (Lnet/minecraft/class_642;Ljava/util/List;)Z
|
|
|
|
COMMENT Replaces the server info in {@code serverInfos} whose name and address match
|
|
|
|
COMMENT {@code serverInfo}'s with {@code serverInfo}.
|
|
|
|
ARG 0 serverInfo
|
|
|
|
ARG 1 serverInfos
|
|
|
|
METHOD method_44295 get (Ljava/lang/String;)Lnet/minecraft/class_642;
|
|
|
|
COMMENT {@return the server info for {@code address}, or {@code null} if there is no such one}
|
|
|
|
ARG 1 address
|
|
|
|
METHOD method_44296 tryUnhide (Ljava/lang/String;)Lnet/minecraft/class_642;
|
|
|
|
COMMENT {@return the previously hidden server info for the address {@code address}, or
|
|
|
|
COMMENT {@code null} if there is no such info}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This "unhides" the server info and is used when adding the entry to the
|
|
|
|
COMMENT multiplayer screen to unhide any existing server info created when connecting
|
|
|
|
COMMENT directly.
|
|
|
|
ARG 1 address
|