Class ServerList


  • public class ServerList
    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)
    • Method Detail

      • initServerList

        public static void initServerList​(Minecraft mc)
      • getServerList

        public static ServerList getServerList()
      • loadServerList

        public void loadServerList()
        + Loads a list of servers from servers.dat, by running ServerData.getServerDataFromNBTCompound on each NBT compound found in the "servers" tag list.
      • saveServerList

        public void saveServerList()
        + Runs getNBTCompound on each ServerData instance, puts everything into a "servers" NBT list and writes it to servers.dat.
      • getServerData

        public ServerData getServerData​(int parInt1)
        + Gets the ServerData instance stored for the given index in the list.
      • removeServerData

        public void removeServerData​(int parInt1)
        + Removes the ServerData instance stored for the given index in the list.
      • addServerData

        public void addServerData​(ServerData parServerData)
        + Adds the given ServerData instance to the list.
      • countServers

        public int countServers()
        + Counts the number of ServerData instances in the list.
      • swapServers

        public void swapServers​(int parInt1,
                                int parInt2)
        + Takes two list indexes, and swaps their order around.
      • func_147413_a

        public void func_147413_a​(int parInt1,
                                  ServerData parServerData)
      • func_147414_b

        public static void func_147414_b​(ServerData parServerData)
      • freeServerIcons

        public void freeServerIcons()
      • refreshServerPing

        public void refreshServerPing()
      • updateServerPing

        public void updateServerPing()