Class ServerList

java.lang.Object
net.minecraft.client.multiplayer.ServerList

public class ServerList extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • minecraft

      private final Minecraft minecraft
    • serverList

      private final List<ServerData> serverList
  • Constructor Details

    • ServerList

      public ServerList(Minecraft p_i1194_1_)
  • Method Details

    • load

      public void load()
    • save

      public void save()
    • get

      public ServerData get(int p_78850_1_)
    • remove

      public void remove(ServerData p_217506_1_)
    • add

      public void add(ServerData p_78849_1_)
    • size

      public int size()
    • swap

      public void swap(int p_78857_1_, int p_78857_2_)
    • replace

      public void replace(int p_147413_1_, ServerData p_147413_2_)
    • saveSingleServer

      public static void saveSingleServer(ServerData p_147414_0_)