Class ServerInfo

java.lang.Object
net.minecraft.client.network.ServerInfo

@Environment(CLIENT) public class ServerInfo extends Object
Mappings:
Namespace Name
official bjg
intermediary net/minecraft/class_485
named net/minecraft/client/network/ServerInfo
  • Field Details

    • name

      public String name
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a:Ljava/lang/String;
      intermediary field_1686 Lnet/minecraft/class_485;field_1686:Ljava/lang/String;
      named name Lnet/minecraft/client/network/ServerInfo;name:Ljava/lang/String;
    • address

      public String address
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b:Ljava/lang/String;
      intermediary field_1687 Lnet/minecraft/class_485;field_1687:Ljava/lang/String;
      named address Lnet/minecraft/client/network/ServerInfo;address:Ljava/lang/String;
    • playerCountLabel

      public String playerCountLabel
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c:Ljava/lang/String;
      intermediary field_1688 Lnet/minecraft/class_485;field_1688:Ljava/lang/String;
      named playerCountLabel Lnet/minecraft/client/network/ServerInfo;playerCountLabel:Ljava/lang/String;
    • label

      public String label
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d:Ljava/lang/String;
      intermediary field_1689 Lnet/minecraft/class_485;field_1689:Ljava/lang/String;
      named label Lnet/minecraft/client/network/ServerInfo;label:Ljava/lang/String;
    • ping

      public long ping
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e:J
      intermediary field_1690 Lnet/minecraft/class_485;field_1690:J
      named ping Lnet/minecraft/client/network/ServerInfo;ping:J
    • protocolVersion

      public int protocolVersion
      Mappings:
      Namespace Name Mixin selector
      official f Lbjg;f:I
      intermediary field_5148 Lnet/minecraft/class_485;field_5148:I
      named protocolVersion Lnet/minecraft/client/network/ServerInfo;protocolVersion:I
    • version

      public String version
      Mappings:
      Namespace Name Mixin selector
      official g Lbjg;g:Ljava/lang/String;
      intermediary field_5149 Lnet/minecraft/class_485;field_5149:Ljava/lang/String;
      named version Lnet/minecraft/client/network/ServerInfo;version:Ljava/lang/String;
    • online

      public boolean online
      Mappings:
      Namespace Name Mixin selector
      official h Lbjg;h:Z
      intermediary field_1691 Lnet/minecraft/class_485;field_1691:Z
      named online Lnet/minecraft/client/network/ServerInfo;online:Z
    • playerListSummary

      public String playerListSummary
      Mappings:
      Namespace Name Mixin selector
      official i Lbjg;i:Ljava/lang/String;
      intermediary field_7926 Lnet/minecraft/class_485;field_7926:Ljava/lang/String;
      named playerListSummary Lnet/minecraft/client/network/ServerInfo;playerListSummary:Ljava/lang/String;
    • field_22915

      private boolean field_22915
      Mappings:
      Namespace Name Mixin selector
      official j Lbjg;j:Z
      intermediary field_22915 Lnet/minecraft/class_485;field_22915:Z
      named field_22915 Lnet/minecraft/client/network/ServerInfo;field_22915:Z
    • field_22916

      private boolean field_22916
      Mappings:
      Namespace Name Mixin selector
      official k Lbjg;k:Z
      intermediary field_22916 Lnet/minecraft/class_485;field_22916:Z
      named field_22916 Lnet/minecraft/client/network/ServerInfo;field_22916:Z
    • field_22917

      private boolean field_22917
      Mappings:
      Namespace Name Mixin selector
      official l Lbjg;l:Z
      intermediary field_22917 Lnet/minecraft/class_485;field_22917:Z
      named field_22917 Lnet/minecraft/client/network/ServerInfo;field_22917:Z
    • icon

      private String icon
      Mappings:
      Namespace Name Mixin selector
      official m Lbjg;m:Ljava/lang/String;
      intermediary field_7928 Lnet/minecraft/class_485;field_7928:Ljava/lang/String;
      named icon Lnet/minecraft/client/network/ServerInfo;icon:Ljava/lang/String;
  • Constructor Details

    • ServerInfo

      public ServerInfo(String string, String string2)
  • Method Details

    • serialize

      public NbtCompound serialize()
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a()Ldg;
      intermediary method_1268 Lnet/minecraft/class_485;method_1268()Lnet/minecraft/class_322;
      named serialize Lnet/minecraft/client/network/ServerInfo;serialize()Lnet/minecraft/nbt/NbtCompound;
    • method_22361

      public boolean method_22361()
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b()Z
      intermediary method_22361 Lnet/minecraft/class_485;method_22361()Z
      named method_22361 Lnet/minecraft/client/network/ServerInfo;method_22361()Z
    • method_22363

      public boolean method_22363()
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c()Z
      intermediary method_22363 Lnet/minecraft/class_485;method_22363()Z
      named method_22363 Lnet/minecraft/client/network/ServerInfo;method_22363()Z
    • method_22360

      public void method_22360(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Z)V
      intermediary method_22360 Lnet/minecraft/class_485;method_22360(Z)V
      named method_22360 Lnet/minecraft/client/network/ServerInfo;method_22360(Z)V
    • method_22364

      public boolean method_22364()
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d()Z
      intermediary method_22364 Lnet/minecraft/class_485;method_22364()Z
      named method_22364 Lnet/minecraft/client/network/ServerInfo;method_22364()Z
    • method_22362

      public void method_22362(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Z)V
      intermediary method_22362 Lnet/minecraft/class_485;method_22362(Z)V
      named method_22362 Lnet/minecraft/client/network/ServerInfo;method_22362(Z)V
    • deserialize

      public static ServerInfo deserialize(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Ldg;)Lbjg;
      intermediary method_6847 Lnet/minecraft/class_485;method_6847(Lnet/minecraft/class_322;)Lnet/minecraft/class_485;
      named deserialize Lnet/minecraft/client/network/ServerInfo;deserialize(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/client/network/ServerInfo;
    • getIcon

      public String getIcon()
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e()Ljava/lang/String;
      intermediary method_6850 Lnet/minecraft/class_485;method_6850()Ljava/lang/String;
      named getIcon Lnet/minecraft/client/network/ServerInfo;getIcon()Ljava/lang/String;
    • setIcon

      public void setIcon(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Ljava/lang/String;)V
      intermediary method_6848 Lnet/minecraft/class_485;method_6848(Ljava/lang/String;)V
      named setIcon Lnet/minecraft/client/network/ServerInfo;setIcon(Ljava/lang/String;)V