2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_2926 net/minecraft/server/ServerMetadata
|
2020-04-30 07:19:49 -04:00
|
|
|
COMMENT Represents metadata sent to the client. This describes the server's message of the day, online players and the protocol version.
|
2019-12-02 08:55:18 -05:00
|
|
|
FIELD field_13283 favicon Ljava/lang/String;
|
|
|
|
FIELD field_13284 description Lnet/minecraft/class_2561;
|
|
|
|
FIELD field_13285 players Lnet/minecraft/class_2926$class_2927;
|
|
|
|
FIELD field_13286 version Lnet/minecraft/class_2926$class_2930;
|
2021-06-28 10:22:10 -04:00
|
|
|
FIELD field_33375 FAVICON_WIDTH I
|
|
|
|
FIELD field_33376 FAVICON_HEIGHT I
|
2022-05-17 05:56:35 -04:00
|
|
|
FIELD field_39391 previewsChat Z
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD method_12677 setFavicon (Ljava/lang/String;)V
|
|
|
|
ARG 1 favicon
|
|
|
|
METHOD method_12678 getFavicon ()Ljava/lang/String;
|
|
|
|
METHOD method_12679 setVersion (Lnet/minecraft/class_2926$class_2930;)V
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 version
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD method_12680 getDescription ()Lnet/minecraft/class_2561;
|
|
|
|
METHOD method_12681 setPlayers (Lnet/minecraft/class_2926$class_2927;)V
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 players
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD method_12682 getPlayers ()Lnet/minecraft/class_2926$class_2927;
|
|
|
|
METHOD method_12683 getVersion ()Lnet/minecraft/class_2926$class_2930;
|
|
|
|
METHOD method_12684 setDescription (Lnet/minecraft/class_2561;)V
|
2020-03-17 16:23:58 -04:00
|
|
|
ARG 1 description
|
2022-05-17 05:56:35 -04:00
|
|
|
METHOD method_44138 setPreviewsChat (Z)V
|
|
|
|
ARG 1 previewsChat
|
|
|
|
METHOD method_44139 shouldPreviewChat ()Z
|
2019-06-28 17:55:20 -04:00
|
|
|
CLASS class_2927 Players
|
|
|
|
FIELD field_13287 sample [Lcom/mojang/authlib/GameProfile;
|
|
|
|
FIELD field_13288 online I
|
|
|
|
FIELD field_13289 max I
|
2018-12-12 12:22:18 -05:00
|
|
|
METHOD <init> (II)V
|
2018-11-05 12:02:24 -05:00
|
|
|
ARG 1 max
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 2 online
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_12685 getSample ()[Lcom/mojang/authlib/GameProfile;
|
|
|
|
METHOD method_12686 setSample ([Lcom/mojang/authlib/GameProfile;)V
|
2019-07-31 10:20:12 -04:00
|
|
|
ARG 1 sample
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_12687 getPlayerLimit ()I
|
|
|
|
METHOD method_12688 getOnlinePlayerCount ()I
|
2019-12-02 08:55:18 -05:00
|
|
|
CLASS class_2928 Deserializer
|
2021-02-28 09:40:37 -05:00
|
|
|
METHOD deserialize (Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
|
|
|
|
ARG 1 json
|
2022-05-17 05:56:35 -04:00
|
|
|
ARG 2 type
|
|
|
|
ARG 3 context
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD serialize (Ljava/lang/Object;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
|
|
|
|
ARG 1 entry
|
|
|
|
ARG 2 unused
|
|
|
|
ARG 3 context
|
2019-06-28 17:55:20 -04:00
|
|
|
CLASS class_2929 Deserializer
|
2019-04-16 11:51:03 -04:00
|
|
|
METHOD deserialize (Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
|
|
|
|
ARG 1 functionJson
|
|
|
|
ARG 2 unused
|
|
|
|
ARG 3 context
|
2021-02-28 09:40:37 -05:00
|
|
|
METHOD serialize (Ljava/lang/Object;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
|
|
|
|
ARG 1 serverMetadata
|
2022-05-17 05:56:35 -04:00
|
|
|
ARG 2 type
|
2021-02-28 09:40:37 -05:00
|
|
|
ARG 3 context
|
2019-06-28 17:55:20 -04:00
|
|
|
CLASS class_2930 Version
|
|
|
|
FIELD field_13290 gameVersion Ljava/lang/String;
|
|
|
|
FIELD field_13291 protocolVersion I
|
2019-07-31 10:20:12 -04:00
|
|
|
METHOD <init> (Ljava/lang/String;I)V
|
|
|
|
ARG 1 gameVersion
|
|
|
|
ARG 2 protocolVersion
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_12693 getGameVersion ()Ljava/lang/String;
|
|
|
|
METHOD method_12694 getProtocolVersion ()I
|
2019-12-02 08:55:18 -05:00
|
|
|
CLASS class_2931 Serializer
|
2021-02-28 09:40:37 -05:00
|
|
|
METHOD deserialize (Lcom/google/gson/JsonElement;Ljava/lang/reflect/Type;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object;
|
|
|
|
ARG 1 json
|
2022-05-17 05:56:35 -04:00
|
|
|
ARG 2 type
|
2021-02-28 09:40:37 -05:00
|
|
|
ARG 3 context
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD serialize (Ljava/lang/Object;Ljava/lang/reflect/Type;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
|
|
|
|
ARG 1 entry
|
|
|
|
ARG 2 unused
|
|
|
|
ARG 3 context
|