Package net.minecraft.server
Class ServerMetadata
java.lang.Object
net.minecraft.server.ServerMetadata
public class ServerMetadata extends Object
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 vfintermediary net/minecraft/class_2926named net/minecraft/server/ServerMetadata
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerMetadata.Deserializerstatic classServerMetadata.Playersstatic classServerMetadata.Version -
Field Summary
Fields Modifier and Type Field Description private Textdescriptionprivate Stringfaviconprivate ServerMetadata.Playersplayersprivate ServerMetadata.Versionversion -
Constructor Summary
Constructors Constructor Description ServerMetadata() -
Method Summary
Modifier and Type Method Description TextgetDescription()StringgetFavicon()ServerMetadata.PlayersgetPlayers()ServerMetadata.VersiongetVersion()voidsetDescription(Text description)voidsetFavicon(String favicon)voidsetPlayers(ServerMetadata.Players players)voidsetVersion(ServerMetadata.Version version)
-
Field Details
-
description
- Mappings:
Namespace Name Mixin selector official aLvf;a:Loi;intermediary field_13284Lnet/minecraft/class_2926;field_13284:Lnet/minecraft/class_2561;named descriptionLnet/minecraft/server/ServerMetadata;description:Lnet/minecraft/text/Text;
-
players
- Mappings:
Namespace Name Mixin selector official bLvf;b:Lvf$a;intermediary field_13285Lnet/minecraft/class_2926;field_13285:Lnet/minecraft/class_2926$class_2927;named playersLnet/minecraft/server/ServerMetadata;players:Lnet/minecraft/server/ServerMetadata$Players;
-
version
- Mappings:
Namespace Name Mixin selector official cLvf;c:Lvf$c;intermediary field_13286Lnet/minecraft/class_2926;field_13286:Lnet/minecraft/class_2926$class_2930;named versionLnet/minecraft/server/ServerMetadata;version:Lnet/minecraft/server/ServerMetadata$Version;
-
favicon
- Mappings:
Namespace Name Mixin selector official dLvf;d:Ljava/lang/String;intermediary field_13283Lnet/minecraft/class_2926;field_13283:Ljava/lang/String;named faviconLnet/minecraft/server/ServerMetadata;favicon:Ljava/lang/String;
-
-
Constructor Details
-
ServerMetadata
public ServerMetadata()
-
-
Method Details
-
getDescription
- Mappings:
Namespace Name Mixin selector official aLvf;a()Loi;intermediary method_12680Lnet/minecraft/class_2926;method_12680()Lnet/minecraft/class_2561;named getDescriptionLnet/minecraft/server/ServerMetadata;getDescription()Lnet/minecraft/text/Text;
-
setDescription
- Mappings:
Namespace Name Mixin selector official aLvf;a(Loi;)Vintermediary method_12684Lnet/minecraft/class_2926;method_12684(Lnet/minecraft/class_2561;)Vnamed setDescriptionLnet/minecraft/server/ServerMetadata;setDescription(Lnet/minecraft/text/Text;)V
-
getPlayers
- Mappings:
Namespace Name Mixin selector official bLvf;b()Lvf$a;intermediary method_12682Lnet/minecraft/class_2926;method_12682()Lnet/minecraft/class_2926$class_2927;named getPlayersLnet/minecraft/server/ServerMetadata;getPlayers()Lnet/minecraft/server/ServerMetadata$Players;
-
setPlayers
- Mappings:
Namespace Name Mixin selector official aLvf;a(Lvf$a;)Vintermediary method_12681Lnet/minecraft/class_2926;method_12681(Lnet/minecraft/class_2926$class_2927;)Vnamed setPlayersLnet/minecraft/server/ServerMetadata;setPlayers(Lnet/minecraft/server/ServerMetadata$Players;)V
-
getVersion
- Mappings:
Namespace Name Mixin selector official cLvf;c()Lvf$c;intermediary method_12683Lnet/minecraft/class_2926;method_12683()Lnet/minecraft/class_2926$class_2930;named getVersionLnet/minecraft/server/ServerMetadata;getVersion()Lnet/minecraft/server/ServerMetadata$Version;
-
setVersion
- Mappings:
Namespace Name Mixin selector official aLvf;a(Lvf$c;)Vintermediary method_12679Lnet/minecraft/class_2926;method_12679(Lnet/minecraft/class_2926$class_2930;)Vnamed setVersionLnet/minecraft/server/ServerMetadata;setVersion(Lnet/minecraft/server/ServerMetadata$Version;)V
-
setFavicon
- Mappings:
Namespace Name Mixin selector official aLvf;a(Ljava/lang/String;)Vintermediary method_12677Lnet/minecraft/class_2926;method_12677(Ljava/lang/String;)Vnamed setFaviconLnet/minecraft/server/ServerMetadata;setFavicon(Ljava/lang/String;)V
-
getFavicon
- Mappings:
Namespace Name Mixin selector official dLvf;d()Ljava/lang/String;intermediary method_12678Lnet/minecraft/class_2926;method_12678()Ljava/lang/String;named getFaviconLnet/minecraft/server/ServerMetadata;getFavicon()Ljava/lang/String;
-