Package net.minecraft.client.network
Class ServerInfo
java.lang.Object
net.minecraft.client.network.ServerInfo
@Environment(CLIENT) public class ServerInfo extends Object
- Mappings:
Namespace Name official eee
intermediary net/minecraft/class_642
named net/minecraft/client/network/ServerInfo
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerInfo.ResourcePackState
-
Field Summary
Fields Modifier and Type Field Description String
address
private String
icon
Text
label
private boolean
local
String
name
boolean
online
long
ping
Text
playerCountLabel
List<Text>
playerListSummary
int
protocolVersion
private ServerInfo.ResourcePackState
resourcePackState
Text
version
-
Constructor Summary
Constructors Constructor Description ServerInfo(String name, String address, boolean local)
-
Method Summary
Modifier and Type Method Description void
copyFrom(ServerInfo serverInfo)
static ServerInfo
deserialize(CompoundTag tag)
String
getIcon()
ServerInfo.ResourcePackState
getResourcePack()
boolean
isLocal()
CompoundTag
serialize()
void
setIcon(String icon)
void
setResourcePackState(ServerInfo.ResourcePackState resourcePackState)
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official a
Leee;a:Ljava/lang/String;
intermediary field_3752
Lnet/minecraft/class_642;field_3752:Ljava/lang/String;
named name
Lnet/minecraft/client/network/ServerInfo;name:Ljava/lang/String;
-
address
- Mappings:
Namespace Name Mixin selector official b
Leee;b:Ljava/lang/String;
intermediary field_3761
Lnet/minecraft/class_642;field_3761:Ljava/lang/String;
named address
Lnet/minecraft/client/network/ServerInfo;address:Ljava/lang/String;
-
playerCountLabel
- Mappings:
Namespace Name Mixin selector official c
Leee;c:Loi;
intermediary field_3753
Lnet/minecraft/class_642;field_3753:Lnet/minecraft/class_2561;
named playerCountLabel
Lnet/minecraft/client/network/ServerInfo;playerCountLabel:Lnet/minecraft/text/Text;
-
label
- Mappings:
Namespace Name Mixin selector official d
Leee;d:Loi;
intermediary field_3757
Lnet/minecraft/class_642;field_3757:Lnet/minecraft/class_2561;
named label
Lnet/minecraft/client/network/ServerInfo;label:Lnet/minecraft/text/Text;
-
ping
public long ping- Mappings:
Namespace Name Mixin selector official e
Leee;e:J
intermediary field_3758
Lnet/minecraft/class_642;field_3758:J
named ping
Lnet/minecraft/client/network/ServerInfo;ping:J
-
protocolVersion
public int protocolVersion- Mappings:
Namespace Name Mixin selector official f
Leee;f:I
intermediary field_3756
Lnet/minecraft/class_642;field_3756:I
named protocolVersion
Lnet/minecraft/client/network/ServerInfo;protocolVersion:I
-
version
- Mappings:
Namespace Name Mixin selector official g
Leee;g:Loi;
intermediary field_3760
Lnet/minecraft/class_642;field_3760:Lnet/minecraft/class_2561;
named version
Lnet/minecraft/client/network/ServerInfo;version:Lnet/minecraft/text/Text;
-
online
public boolean online- Mappings:
Namespace Name Mixin selector official h
Leee;h:Z
intermediary field_3754
Lnet/minecraft/class_642;field_3754:Z
named online
Lnet/minecraft/client/network/ServerInfo;online:Z
-
playerListSummary
- Mappings:
Namespace Name Mixin selector official i
Leee;i:Ljava/util/List;
intermediary field_3762
Lnet/minecraft/class_642;field_3762:Ljava/util/List;
named playerListSummary
Lnet/minecraft/client/network/ServerInfo;playerListSummary:Ljava/util/List;
-
resourcePackState
- Mappings:
Namespace Name Mixin selector official j
Leee;j:Leee$a;
intermediary field_3755
Lnet/minecraft/class_642;field_3755:Lnet/minecraft/class_642$class_643;
named resourcePackState
Lnet/minecraft/client/network/ServerInfo;resourcePackState:Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
icon
- Mappings:
Namespace Name Mixin selector official k
Leee;k:Ljava/lang/String;
intermediary field_3759
Lnet/minecraft/class_642;field_3759:Ljava/lang/String;
named icon
Lnet/minecraft/client/network/ServerInfo;icon:Ljava/lang/String;
-
local
private boolean local- Mappings:
Namespace Name Mixin selector official l
Leee;l:Z
intermediary field_3763
Lnet/minecraft/class_642;field_3763:Z
named local
Lnet/minecraft/client/network/ServerInfo;local:Z
-
-
Constructor Details
-
ServerInfo
- Mappings:
Namespace Name Mixin selector official <init>
Leee;<init>(Ljava/lang/String;Ljava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_642;<init>(Ljava/lang/String;Ljava/lang/String;Z)V
named <init>
Lnet/minecraft/client/network/ServerInfo;<init>(Ljava/lang/String;Ljava/lang/String;Z)V
-
-
Method Details
-
serialize
- Mappings:
Namespace Name Mixin selector official a
Leee;a()Lmq;
intermediary method_2992
Lnet/minecraft/class_642;method_2992()Lnet/minecraft/class_2487;
named serialize
Lnet/minecraft/client/network/ServerInfo;serialize()Lnet/minecraft/nbt/CompoundTag;
-
getResourcePack
- Mappings:
Namespace Name Mixin selector official b
Leee;b()Leee$a;
intermediary method_2990
Lnet/minecraft/class_642;method_2990()Lnet/minecraft/class_642$class_643;
named getResourcePack
Lnet/minecraft/client/network/ServerInfo;getResourcePack()Lnet/minecraft/client/network/ServerInfo$ResourcePackState;
-
setResourcePackState
- Mappings:
Namespace Name Mixin selector official a
Leee;a(Leee$a;)V
intermediary method_2995
Lnet/minecraft/class_642;method_2995(Lnet/minecraft/class_642$class_643;)V
named setResourcePackState
Lnet/minecraft/client/network/ServerInfo;setResourcePackState(Lnet/minecraft/client/network/ServerInfo$ResourcePackState;)V
-
deserialize
- Mappings:
Namespace Name Mixin selector official a
Leee;a(Lmq;)Leee;
intermediary method_2993
Lnet/minecraft/class_642;method_2993(Lnet/minecraft/class_2487;)Lnet/minecraft/class_642;
named deserialize
Lnet/minecraft/client/network/ServerInfo;deserialize(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/client/network/ServerInfo;
-
getIcon
- Mappings:
Namespace Name Mixin selector official c
Leee;c()Ljava/lang/String;
intermediary method_2991
Lnet/minecraft/class_642;method_2991()Ljava/lang/String;
named getIcon
Lnet/minecraft/client/network/ServerInfo;getIcon()Ljava/lang/String;
-
setIcon
- Mappings:
Namespace Name Mixin selector official a
Leee;a(Ljava/lang/String;)V
intermediary method_2989
Lnet/minecraft/class_642;method_2989(Ljava/lang/String;)V
named setIcon
Lnet/minecraft/client/network/ServerInfo;setIcon(Ljava/lang/String;)V
-
isLocal
public boolean isLocal()- Mappings:
Namespace Name Mixin selector official d
Leee;d()Z
intermediary method_2994
Lnet/minecraft/class_642;method_2994()Z
named isLocal
Lnet/minecraft/client/network/ServerInfo;isLocal()Z
-
copyFrom
- Mappings:
Namespace Name Mixin selector official a
Leee;a(Leee;)V
intermediary method_2996
Lnet/minecraft/class_642;method_2996(Lnet/minecraft/class_642;)V
named copyFrom
Lnet/minecraft/client/network/ServerInfo;copyFrom(Lnet/minecraft/client/network/ServerInfo;)V
-