Class ServerInfo

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

@Environment(CLIENT)
public class ServerInfo
extends Object
  • Field Details

    • name

      public String name
    • address

      public String address
    • playerCountLabel

      public Text playerCountLabel
    • label

      public Text label
    • ping

      public long ping
    • protocolVersion

      public int protocolVersion
    • version

      public Text version
    • online

      public boolean online
    • playerListSummary

      public List<Text> playerListSummary
    • resourcePackState

      private ServerInfo.ResourcePackState resourcePackState
    • icon

      @Nullable private String icon
    • local

      private boolean local
  • Constructor Details

    • ServerInfo

      public ServerInfo​(String name, String address, boolean local)
  • Method Details