2019-09-01 11:22:10 -04:00
|
|
|
CLASS net/minecraft/class_642 net/minecraft/client/network/ServerInfo
|
2021-03-27 10:26:40 -04:00
|
|
|
COMMENT The information of a server entry in the list of servers available in
|
2022-05-23 08:07:30 -04:00
|
|
|
COMMENT the multiplayer screen, or that of the servers connected directly.
|
|
|
|
COMMENT The information for directly-connected servers are also saved (although
|
|
|
|
COMMENT hidden from the multiplayer screen) so that chat preview acknowledgements
|
|
|
|
COMMENT and other settings are saved. The list of these servers is stored in the
|
|
|
|
COMMENT {@code servers.dat} file within the client game directory.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see net.minecraft.client.option.ServerList
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_3752 name Ljava/lang/String;
|
2020-04-22 11:59:47 -04:00
|
|
|
FIELD field_3753 playerCountLabel Lnet/minecraft/class_2561;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_3754 online Z
|
2021-03-27 10:26:40 -04:00
|
|
|
FIELD field_3755 resourcePackPolicy Lnet/minecraft/class_642$class_643;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_3756 protocolVersion I
|
2020-04-22 11:59:47 -04:00
|
|
|
FIELD field_3757 label Lnet/minecraft/class_2561;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_3758 ping J
|
2020-04-22 11:59:47 -04:00
|
|
|
FIELD field_3760 version Lnet/minecraft/class_2561;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_3761 address Ljava/lang/String;
|
2020-04-22 11:59:47 -04:00
|
|
|
FIELD field_3762 playerListSummary Ljava/util/List;
|
2022-07-26 13:33:57 -04:00
|
|
|
FIELD field_39918 secureChatEnforced Z
|
2023-01-19 23:10:00 -05:00
|
|
|
FIELD field_41861 players Lnet/minecraft/class_2926$class_2927;
|
2023-02-17 02:09:46 -05:00
|
|
|
FIELD field_42889 LOGGER Lorg/slf4j/Logger;
|
|
|
|
FIELD field_42890 favicon [B
|
2023-08-04 07:01:01 -04:00
|
|
|
FIELD field_45608 serverType Lnet/minecraft/class_642$class_8678;
|
2023-09-12 10:39:11 -04:00
|
|
|
FIELD field_46206 MAX_FAVICON_SIZE I
|
2023-08-02 13:18:08 -04:00
|
|
|
METHOD <init> (Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_642$class_8678;)V
|
2022-05-23 08:07:30 -04:00
|
|
|
ARG 1 name
|
2018-11-04 07:22:38 -05:00
|
|
|
ARG 2 address
|
2023-08-04 07:01:01 -04:00
|
|
|
ARG 3 serverType
|
2021-03-27 10:26:40 -04:00
|
|
|
METHOD method_2990 getResourcePackPolicy ()Lnet/minecraft/class_642$class_643;
|
2021-06-07 09:40:13 -04:00
|
|
|
COMMENT {@return the policy on resource packs sent by this server}
|
2021-03-27 10:26:40 -04:00
|
|
|
METHOD method_2992 toNbt ()Lnet/minecraft/class_2487;
|
|
|
|
METHOD method_2993 fromNbt (Lnet/minecraft/class_2487;)Lnet/minecraft/class_642;
|
|
|
|
ARG 0 root
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_2994 isLocal ()Z
|
2021-03-27 10:26:40 -04:00
|
|
|
METHOD method_2995 setResourcePackPolicy (Lnet/minecraft/class_642$class_643;)V
|
|
|
|
COMMENT Sets the resource pack policy on this server.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This is called when a user has responded to the prompt on whether to
|
|
|
|
COMMENT accept server resource packs from this server in the future.
|
2022-02-09 11:42:35 -05:00
|
|
|
ARG 1 resourcePackPolicy
|
2022-05-23 08:07:30 -04:00
|
|
|
METHOD method_2996 copyWithSettingsFrom (Lnet/minecraft/class_642;)V
|
2021-01-23 04:48:35 -05:00
|
|
|
ARG 1 serverInfo
|
2022-05-23 08:07:30 -04:00
|
|
|
METHOD method_44292 copyFrom (Lnet/minecraft/class_642;)V
|
|
|
|
ARG 1 serverInfo
|
2022-07-26 13:33:57 -04:00
|
|
|
METHOD method_45055 setSecureChatEnforced (Z)V
|
|
|
|
ARG 1 secureChatEnforced
|
|
|
|
METHOD method_45056 isSecureChatEnforced ()Z
|
2023-02-17 02:09:46 -05:00
|
|
|
METHOD method_49305 setFavicon ([B)V
|
|
|
|
ARG 1 favicon
|
|
|
|
METHOD method_49306 getFavicon ()[B
|
2023-08-04 07:01:01 -04:00
|
|
|
METHOD method_52811 isRealm ()Z
|
2023-09-12 10:39:11 -04:00
|
|
|
METHOD method_53885 validateFavicon ([B)[B
|
|
|
|
ARG 0 favicon
|
2021-03-27 10:26:40 -04:00
|
|
|
CLASS class_643 ResourcePackPolicy
|
|
|
|
COMMENT The policy of the client when this server sends a {@linkplain
|
2023-08-05 12:40:14 -04:00
|
|
|
COMMENT net.minecraft.network.packet.s2c.common.ResourcePackSendS2CPacket server
|
2021-03-27 10:26:40 -04:00
|
|
|
COMMENT resource pack}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see ServerInfo#getResourcePackPolicy()
|
|
|
|
FIELD field_3764 DISABLED Lnet/minecraft/class_642$class_643;
|
|
|
|
COMMENT Always rejects the resource pack.
|
2019-12-02 08:55:18 -05:00
|
|
|
FIELD field_3765 name Lnet/minecraft/class_2561;
|
2021-05-13 12:59:27 -04:00
|
|
|
FIELD field_3766 RESOURCE_PACK_POLICIES [Lnet/minecraft/class_642$class_643;
|
2021-03-27 10:26:40 -04:00
|
|
|
FIELD field_3767 PROMPT Lnet/minecraft/class_642$class_643;
|
|
|
|
COMMENT Opens a screen on whether to always accept or reject resource packs from
|
|
|
|
COMMENT this server for the current pack or any pack in the future.
|
|
|
|
FIELD field_3768 ENABLED Lnet/minecraft/class_642$class_643;
|
|
|
|
COMMENT Always accepts the resource pack and starts downloading it.
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V
|
|
|
|
ARG 3 name
|
|
|
|
METHOD method_2997 getName ()Lnet/minecraft/class_2561;
|
2023-08-04 07:01:01 -04:00
|
|
|
CLASS class_8678 ServerType
|