Class ServerData


  • public class ServerData
    extends java.lang.Object
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Field Detail

      • serverName

        public java.lang.String serverName
      • serverIP

        public java.lang.String serverIP
      • populationInfo

        public java.lang.String populationInfo
        + the string indicating number of players on and capacity of the server that is shown on the server browser (i.e. "5/20" meaning 5 slots used out of 20 slots total)
      • serverMOTD

        public java.lang.String serverMOTD
        + (better variable name would be 'hostname') server name as displayed in the server browser's second line (grey text)
      • pingToServer

        public long pingToServer
        + last server ping that showed up in the server browser
      • version

        public int version
      • gameVersion

        public java.lang.String gameVersion
        + Game version for this server.
      • field_78841_f

        public boolean field_78841_f
      • playerList

        public java.lang.String playerList
      • hideAddress

        public boolean hideAddress
      • pingSentTime

        public long pingSentTime
      • serverIconDirty

        public boolean serverIconDirty
      • hasPing

        public boolean hasPing
      • serverIconEnabled

        public boolean serverIconEnabled
      • isDefault

        public boolean isDefault
    • Constructor Detail

      • ServerData

        public ServerData​(java.lang.String parString1,
                          java.lang.String parString2,
                          boolean parFlag)
    • Method Detail

      • getNBTCompound

        public NBTTagCompound getNBTCompound()
        + Returns an NBTTagCompound with the server's name, IP and maybe acceptTextures.
      • getServerDataFromNBTCompound

        public static ServerData getServerDataFromNBTCompound​(NBTTagCompound nbtCompound)
        + Takes an NBTTagCompound with 'name' and 'ip' keys, returns a ServerData instance.
      • func_181041_d

        public boolean func_181041_d()
      • copyFrom

        public void copyFrom​(ServerData serverDataIn)
      • setMOTDFromQuery

        public void setMOTDFromQuery​(QueryResponse pkt)
      • setIconPacket

        public void setIconPacket​(byte[] pkt)