Package net.minecraft.server
Class ServerMetadata
java.lang.Object
net.minecraft.server.ServerMetadata
Represents metadata sent to the client. This describes the server's message of the day, online players and the protocol version.
- Mappings:
Namespace Name official wa
intermediary net/minecraft/class_2926
named net/minecraft/server/ServerMetadata
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate Text
private String
static final int
static final int
private ServerMetadata.Players
private ServerMetadata.Version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDescription
(Text description) void
setFavicon
(String favicon) void
setPlayers
(ServerMetadata.Players players) void
setVersion
(ServerMetadata.Version version)
-
Field Details
-
field_33375
public static final int field_33375- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lwa;a:I
intermediary field_33375
Lnet/minecraft/class_2926;field_33375:I
named field_33375
Lnet/minecraft/server/ServerMetadata;field_33375:I
-
field_33376
public static final int field_33376- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lwa;b:I
intermediary field_33376
Lnet/minecraft/class_2926;field_33376:I
named field_33376
Lnet/minecraft/server/ServerMetadata;field_33376:I
-
description
- Mappings:
Namespace Name Mixin selector official c
Lwa;c:Los;
intermediary field_13284
Lnet/minecraft/class_2926;field_13284:Lnet/minecraft/class_2561;
named description
Lnet/minecraft/server/ServerMetadata;description:Lnet/minecraft/text/Text;
-
players
- Mappings:
Namespace Name Mixin selector official d
Lwa;d:Lwa$a;
intermediary field_13285
Lnet/minecraft/class_2926;field_13285:Lnet/minecraft/class_2926$class_2927;
named players
Lnet/minecraft/server/ServerMetadata;players:Lnet/minecraft/server/ServerMetadata$Players;
-
version
- Mappings:
Namespace Name Mixin selector official e
Lwa;e:Lwa$c;
intermediary field_13286
Lnet/minecraft/class_2926;field_13286:Lnet/minecraft/class_2926$class_2930;
named version
Lnet/minecraft/server/ServerMetadata;version:Lnet/minecraft/server/ServerMetadata$Version;
-
favicon
- Mappings:
Namespace Name Mixin selector official f
Lwa;f:Ljava/lang/String;
intermediary field_13283
Lnet/minecraft/class_2926;field_13283:Ljava/lang/String;
named favicon
Lnet/minecraft/server/ServerMetadata;favicon:Ljava/lang/String;
-
-
Constructor Details
-
ServerMetadata
public ServerMetadata()
-
-
Method Details
-
getDescription
- Mappings:
Namespace Name Mixin selector official a
Lwa;a()Los;
intermediary method_12680
Lnet/minecraft/class_2926;method_12680()Lnet/minecraft/class_2561;
named getDescription
Lnet/minecraft/server/ServerMetadata;getDescription()Lnet/minecraft/text/Text;
-
setDescription
- Mappings:
Namespace Name Mixin selector official a
Lwa;a(Los;)V
intermediary method_12684
Lnet/minecraft/class_2926;method_12684(Lnet/minecraft/class_2561;)V
named setDescription
Lnet/minecraft/server/ServerMetadata;setDescription(Lnet/minecraft/text/Text;)V
-
getPlayers
- Mappings:
Namespace Name Mixin selector official b
Lwa;b()Lwa$a;
intermediary method_12682
Lnet/minecraft/class_2926;method_12682()Lnet/minecraft/class_2926$class_2927;
named getPlayers
Lnet/minecraft/server/ServerMetadata;getPlayers()Lnet/minecraft/server/ServerMetadata$Players;
-
setPlayers
- Mappings:
Namespace Name Mixin selector official a
Lwa;a(Lwa$a;)V
intermediary method_12681
Lnet/minecraft/class_2926;method_12681(Lnet/minecraft/class_2926$class_2927;)V
named setPlayers
Lnet/minecraft/server/ServerMetadata;setPlayers(Lnet/minecraft/server/ServerMetadata$Players;)V
-
getVersion
- Mappings:
Namespace Name Mixin selector official c
Lwa;c()Lwa$c;
intermediary method_12683
Lnet/minecraft/class_2926;method_12683()Lnet/minecraft/class_2926$class_2930;
named getVersion
Lnet/minecraft/server/ServerMetadata;getVersion()Lnet/minecraft/server/ServerMetadata$Version;
-
setVersion
- Mappings:
Namespace Name Mixin selector official a
Lwa;a(Lwa$c;)V
intermediary method_12679
Lnet/minecraft/class_2926;method_12679(Lnet/minecraft/class_2926$class_2930;)V
named setVersion
Lnet/minecraft/server/ServerMetadata;setVersion(Lnet/minecraft/server/ServerMetadata$Version;)V
-
setFavicon
- Mappings:
Namespace Name Mixin selector official a
Lwa;a(Ljava/lang/String;)V
intermediary method_12677
Lnet/minecraft/class_2926;method_12677(Ljava/lang/String;)V
named setFavicon
Lnet/minecraft/server/ServerMetadata;setFavicon(Ljava/lang/String;)V
-
getFavicon
- Mappings:
Namespace Name Mixin selector official d
Lwa;d()Ljava/lang/String;
intermediary method_12678
Lnet/minecraft/class_2926;method_12678()Ljava/lang/String;
named getFavicon
Lnet/minecraft/server/ServerMetadata;getFavicon()Ljava/lang/String;
-